We have tested the following case on Intel 10G NIC using the patch set. Test case Flow: Iperf app running on legacy virtio guest---->DPDK vhost-----> two physical ports loopback on a NIC ----> legacy vhost----->iperf app running on a legacy virtio guest.
After enabling the vhost TSO and checksum offload, there is about 60% throughput performance improvement. And we will continue to test the performance after the patch set is applied. > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu > Sent: Wednesday, October 21, 2015 12:47 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/8] add vhost TX offload support > > In fact, this patch set is v2 of [1], but I consider that the vhost checksum > offload capability is also supported in this version, and send a new patch set > out. > > The patch set add the negotiation between us-vhost and virtio-net for vhost > TX offload(checksum and TSO), and add the TX offload support in the libs and > change vhost sample and csum application to test these changes. > > > [1]http://dpdk.org/ml/archives/dev/2015-September/023686.html > > > Jijiang Liu (8): > add virtual address of virtio net header > store virtual address of virtio hdr > add vhost TX offload support capability in virtio-net > add vhost TX offload support capability in vhost > enqueue TX offload > dequeue TX offload > change vhost App to support TX offload > fix csumonly fwd issue > > app/test-pmd/csumonly.c | 6 ++ > drivers/net/virtio/virtio_ethdev.c | 3 + > drivers/net/virtio/virtio_ethdev.h | 5 +- > drivers/net/virtio/virtio_rxtx.c | 61 +++++++++++++++++ > drivers/net/virtio/virtqueue.h | 1 + > examples/vhost/main.c | 128 > +++++++++++++++++++++++++++++++----- > lib/librte_vhost/vhost_rxtx.c | 108 ++++++++++++++++++++++++++++++- > lib/librte_vhost/virtio-net.c | 6 ++- > 8 files changed, 298 insertions(+), 20 deletions(-) > > -- > 1.7.7.6