From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B0D935424 for ; Mon, 9 Nov 2015 09:48:40 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 09 Nov 2015 00:48:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,265,1444719600"; d="scan'208";a="831422789" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by fmsmga001.fm.intel.com with ESMTP; 09 Nov 2015 00:48:06 -0800 Date: Mon, 9 Nov 2015 16:51:40 +0800 From: Yuanhan Liu To: "Liu, Jijiang" Message-ID: <20151109085140.GO2326@yliu-dev.sh.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> <1ED644BD7E0A5F4091CF203DAFB8E4CC22BD954D@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ED644BD7E0A5F4091CF203DAFB8E4CC22BD954D@SHSMSX101.ccr.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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:48:41 -0000 On Mon, Nov 09, 2015 at 08:17:24AM +0000, Liu, Jijiang wrote: > > > > -----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 > > > > 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. > > > This is configuration only in the vhost sample, but TSO/CSUM is enabled by default in lib leyer. > > If user want to use it in vhost sample, just change the configuration. So, why do you want to disable it by default then? --yliu