[dpdk-dev] [PATCH v8 0/5] add virtio offload support in us-vhost

Jijiang Liu jijiang.liu at intel.com
Fri Feb 5 08:31:37 CET 2016


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.

In short, this patch set supports the followings,
 
- DPDK vhost CSUM & TSO for VM2NIC case

- CSUM and TSO support between legacy virtio-net and DPDK vhost for
  VM2VM and NIC2VM cases.

v8 changes:
  Add release notes update.

v7 changes:
  Rebase latest codes and format patch comments.
 
v6 change:
  Rebase latest codes.

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 changes:
  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.

Tested-by: Qian Xu <qian.q.xu at intel.com>

---
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



More information about the dev mailing list