Re: [dpdk-dev] [PATCH] net/virtio: fix build without virtio-user

2017-01-17 Thread Yuanhan Liu
On Tue, Jan 17, 2017 at 11:22:41PM +0100, Thomas Monjalon wrote: > When CONFIG_RTE_VIRTIO_USER is disabled (default on FreeBSD), > the virtio driver cannot be compiled: > > librte_pmd_virtio.a(virtio_ethdev.o): In function `eth_virtio_dev_init': > (.text+0x1eba): undefined reference to `virtio_use

[dpdk-dev] [PATCH] net/virtio: fix build without virtio-user

2017-01-17 Thread Thomas Monjalon
When CONFIG_RTE_VIRTIO_USER is disabled (default on FreeBSD), the virtio driver cannot be compiled: librte_pmd_virtio.a(virtio_ethdev.o): In function `eth_virtio_dev_init': (.text+0x1eba): undefined reference to `virtio_user_ops' Signed-off-by: Thomas Monjalon --- Already applied on mainline git