From: Bruce Richardson Subject: Re: [PATCH v2] net/i40e: fix Tx fn selection when using new ethdev offloads Date: Tue, 1 May 2018 15:16:20 +0100 Message-ID: <20180501141620.GA47736@bricha3-MOBL.ger.corp.intel.com> References: <20180501130309.39444-1-bruce.richardson@intel.com> <20180501141354.13935-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, ferruh.yigit@intel.com, konstantin.ananyev@intel.com To: Beilei Xing , Qi Zhang Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id DDCC8DED for ; Tue, 1 May 2018 16:16:26 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180501141354.13935-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, May 01, 2018 at 03:13:54PM +0100, Bruce Richardson wrote: > The Tx function selection code in the driver only used the older txq > flags values to check whether the scalar or vector functions should be > used. This caused performance regressions with testpmd io-fwd as the > scalar path rather than the vector one was being used in the default > case. Fix this by changing the code to take account of new offloads and > deleting the defines used for the old ones. > > Fixes: 7497d3e2f777 ("net/i40e: convert to new Tx offloads API") > > Signed-off-by: Bruce Richardson > --- Apologies: forgot to add: v2: eliminate mask for offload flags, and use vector path only if offloads == 0