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 8A079591F for ; Mon, 9 Nov 2015 09:17:28 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 09 Nov 2015 00:17:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,265,1444719600"; d="scan'208";a="681231320" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 09 Nov 2015 00:17:27 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 9 Nov 2015 00:17:26 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 9 Nov 2015 00:17:26 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.83]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.138]) with mapi id 14.03.0248.002; Mon, 9 Nov 2015 16:17:25 +0800 From: "Liu, Jijiang" To: Yuanhan Liu Thread-Topic: [dpdk-dev] [PATCH v3 8/8] examples/vhost:support TX offload in vhost sample Thread-Index: AQHRFu9B3tJD2iqHg0yxH2kp7cPTv56SlwKAgADIWmA= Date: Mon, 9 Nov 2015 08:17:24 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC22BD954D@SHSMSX101.ccr.corp.intel.com> References: <1446634456-413-1-git-send-email-jijiang.liu@intel.com> <1446634456-413-9-git-send-email-jijiang.liu@intel.com> <20151109041707.GJ2326@yliu-dev.sh.intel.com> In-Reply-To: <20151109041707.GJ2326@yliu-dev.sh.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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3 8/8] examples/vhost:support TX offload in vhost sample 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, 09 Nov 2015 08:17:29 -0000 > -----Original Message----- > From: Yuanhan Liu [mailto:yuanhan.liu@linux.intel.com] > Sent: Monday, November 09, 2015 12:17 PM > To: Liu, Jijiang > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 8/8] examples/vhost:support TX offload = in > vhost sample >=20 > On Wed, Nov 04, 2015 at 06:54:16PM +0800, Jijiang Liu wrote: > > Change the vhost sample to support and test TX offload. > > > > Signed-off-by: Jijiang Liu > > --- > > examples/vhost/main.c | 128 > > ++++++++++++++++++++++++++++++++++++++++++------- > > 1 files changed, 111 insertions(+), 17 deletions(-) > > > > diff --git a/examples/vhost/main.c b/examples/vhost/main.c index > > 9eac2d0..06e1e8b 100644 > > --- a/examples/vhost/main.c > > +++ b/examples/vhost/main.c > > @@ -50,6 +50,10 @@ > > #include > > #include > > #include > > +#include > > +#include > > +#include > > +#include > > > > #include "main.h" > > > > @@ -140,6 +144,8 @@ > > > Actually, I'd like to see TSO/CSUM offloading is enabled by default: > they are so common, and they are enabled in a lot places by default, say, > kernel, qemu. There is no reason to make it "disable" here. >=20 This is configuration only in the vhost sample, but TSO/CSUM is enabled b= y default in lib leyer. If user want to use it in vhost sample, just change the configuration. =20