[dpdk-dev] DPDK 2.2 build failing with vhost-kni

Xie, Huawei huawei.xie at intel.com
Mon Apr 11 10:25:59 CEST 2016


On 4/10/2016 7:26 AM, chintu hetam wrote:
> I am compiling DPDK 2.2 on Fedora 23 and i am seeing following build error
> /home/vcr/devel/dpdk/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_vhost.c:
> In function ‘kni_sock_poll’:
> /home/vcr/devel/dpdk/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_vhost.c:254:25:
> error: ‘SOCK_ASYNC_NOSPACE’ undeclared (first use in this function)
>       (!test_and_set_bit(SOCK_ASYNC_NOSPACE, &q->sock->flags) &&
>                          ^

Hi, besides the issue, now user space vhost is the preferred way to
switch packets with the virtual machine, and we have plans to remove kni
vhost support. Do you have any reason to use kni vhost?


More information about the dev mailing list