[dpdk-dev] [PATCH] examples/vhost: fix failure without hints

Yuanhan Liu yuanhan.liu at linux.intel.com
Mon Jul 4 05:00:13 CEST 2016


On Fri, Jul 01, 2016 at 08:50:31AM +0000, Jianfeng Tan wrote:
> When the specified cores and memory lie on different numa socket with
> physical NIC, vhost fails to set up rx queue, and exits without any
> hints. This could leads to confusion of users.
> 
> This patch fixes it by adding some error messages when calling ether
> APIs returns errors.
> 
> Fixes: 4796ad63ba1f ("examples/vhost: import userspace vhost application")

I will not call it a "fix", instead, it's an "enhancement" to me.

> Reported-by: Yulong Pei <yulong.pei at intel.com>

And since it's not a bug, it might be "Suggested-by: ...".

	--yliu


More information about the dev mailing list