Hi Thomas, Do you have comments on this patch set? The former version has actually got my ACK. If no objections, I will (or ask Jijiang to) make a rebase and fix the commit log and send another version out.
--yliu On Mon, Dec 21, 2015 at 01:21:16PM +0800, Jijiang Liu wrote: > 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, > > 1. DPDK vhost CSUM & TSO for VM2NIC case > > 2. CSUM and TSO support between legacy virtio-net and DPDK vhost for VM2VM > and NIC2VM cases. > > 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 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