vhost: enable virtio 1.0
authorMarcel Apfelbaum <marcel@redhat.com>
Thu, 15 Oct 2015 11:08:39 +0000 (14:08 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 2 Nov 2015 22:12:27 +0000 (23:12 +0100)
commit15e9ee6982a4822ce395fd597dd500a61ceafa7c
treecb2d3c25de5cef6730cdc568ad9a790925c34337
parent8d8393fb1861533dd38e4554651d863169ef6556
vhost: enable virtio 1.0

Make vhost-user virtio 1.0 compatible by adding it to the
supported features and keeping the header length
the same as for mergeable RX buffers.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/virtio-net.c