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 2C76A2BE4 for ; Thu, 24 Mar 2016 13:25:55 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 24 Mar 2016 05:25:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,385,1455004800"; d="scan'208";a="944141754" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.85]) by fmsmga002.fm.intel.com with SMTP; 24 Mar 2016 05:25:46 -0700 Received: by (sSMTP sendmail emulation); Thu, 24 Mar 2016 12:25:46 +0025 Date: Thu, 24 Mar 2016 12:25:45 +0000 From: Bruce Richardson To: "Liang, Cunming" Cc: Konstantin Ananyev , dev@dpdk.org Message-ID: <20160324122545.GD13728@bricha3-MOBL3> References: <1458657017-22160-1-git-send-email-konstantin.ananyev@intel.com> <56F2055F.80905@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56F2055F.80905@intel.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix vector RX can't always set packet_type properly 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: Thu, 24 Mar 2016 12:25:55 -0000 On Wed, Mar 23, 2016 at 10:54:23AM +0800, Liang, Cunming wrote: > Hi, > > On 3/22/2016 10:30 PM, Konstantin Ananyev wrote: > >Fixes: 39625417585 ("mbuf: redefine packet type") > > > >Current vector RX can't always set packet_type properly. > >To be more specific: > >a) it never sets RTE_PTYPE_L2_ETHER > >b) it doesn't handle tunnel ipv4/ipv6 case correctly. > >c) it doesn't check is IXGBE_RXDADV_PKTTYPE_ETQF set or not. > >While a) is pretty easy to fix, b) and c) are not that straightforward > >in terms of SIMD ops (specially b). > >So far I wasn't able to make vRX support packet_type properly without > >noticeable performance loss. > >So for now, just remove that functionality at all from vector RX and > >update dev_supported_ptypes_get(). > > > >Signed-off-by: Konstantin Ananyev > >--- > > drivers/net/ixgbe/ixgbe_ethdev.c | 4 +--- > > drivers/net/ixgbe/ixgbe_rxtx_vec.c | 34 +++++++++++----------------------- > > 2 files changed, 12 insertions(+), 26 deletions(-) > > > > > Acked-by: Liang Cunming Applied to dpdk-next-net/rel_16_04 /Bruce