From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E8EE25A64 for ; Mon, 26 Oct 2015 07:45:21 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 25 Oct 2015 23:45:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,200,1444719600"; d="scan'208";a="834976345" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 25 Oct 2015 23:45:19 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 25 Oct 2015 23:45:19 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 25 Oct 2015 23:45:19 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.204]) with mapi id 14.03.0248.002; Mon, 26 Oct 2015 14:45:10 +0800 From: "Liu, Jijiang" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 0/8] add vhost TX offload support Thread-Index: AQHRC7uOZ/U3rWGapki7Awx1VNu9P559WLOw Date: Mon, 26 Oct 2015 06:45:09 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC22BC311C@SHSMSX101.ccr.corp.intel.com> References: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 0/8] add vhost TX offload support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 06:45:22 -0000 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 leg= acy virtio guest. After enabling the vhost TSO and checksum offload, there is about 60% thro= ughput performance improvement. And we will continue to test the performance after the patch set is applied= . > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu > Sent: Wednesday, October 21, 2015 12:47 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 0/8] add vhost TX offload support >=20 > In fact, this patch set is v2 of [1], but I consider that the vhost check= sum > offload capability is also supported in this version, and send a new patc= h set > out. >=20 > The patch set add the negotiation between us-vhost and virtio-net for vho= st > 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. >=20 >=20 > [1]http://dpdk.org/ml/archives/dev/2015-September/023686.html >=20 >=20 > 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 >=20 > 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(-) >=20 > -- > 1.7.7.6