Adds virtio offload support in us-vhost. The patch set adds the feature negotiation of checksum and TSO between us-vhost and vanilla Linux virtio guest, and add these offload features support in the vhost lib, and change vhost sample to test them.
v5 changes: Add more clear descriptions to explain these changes. reset the 'virtio_net_hdr' value in the virtio_enqueue_offload() function. reorganize patches. v4 change: remove virtio-net change, only keep vhost changes. add guest TX offload capabilities to support VM to VM case. split the cleanup code as a separate patch. v3 change: rebase latest codes. v2 change: fill virtio device information for TX offloads. *** BLURB HERE *** Jijiang Liu (4): add vhost offload capabilities remove ipv4_hdr structure from vhost sample. add guest offload setting ln the vhost lib. change vhost application to test checksum and TSO for VM to NIC case examples/vhost/main.c | 120 ++++++++++++++++++++++++++++----- lib/librte_vhost/vhost_rxtx.c | 150 ++++++++++++++++++++++++++++++++++++++++- lib/librte_vhost/virtio-net.c | 9 ++- 3 files changed, 259 insertions(+), 20 deletions(-) -- 1.7.7.6