[dpdk-dev] [PATCH] vhost: fix build error for old kernels

2016-03-11 Thread Thomas Monjalon
2016-03-08 16:51, Yuanhan Liu: > VIRTIO_NET_F_GUEST_ANNOUNCE is a new feature introduced since kernel > v3.5. For older kernels (or more precisely, old distributions), we > could simply define it manually, to fix the "macro not defined" error. > > Fixes: d293dac8f30e ("vhost: claim support of

[dpdk-dev] [PATCH] vhost: fix build error for old kernels

2016-03-08 Thread Yuanhan Liu
VIRTIO_NET_F_GUEST_ANNOUNCE is a new feature introduced since kernel v3.5. For older kernels (or more precisely, old distributions), we could simply define it manually, to fix the "macro not defined" error. Fixes: d293dac8f30e ("vhost: claim support of guest announce") Signed-off-by: Yuanhan Liu