From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] enic: improve ptype handling Date: Thu, 23 Jun 2016 12:32:55 +0100 Message-ID: <20160623113255.GG5024@bricha3-MOBL3> References: <1465948445-12571-1-git-send-email-neescoba@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, johndale@cisco.com To: Nelson Escobar Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 59EA4C4C0 for ; Thu, 23 Jun 2016 13:32:59 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1465948445-12571-1-git-send-email-neescoba@cisco.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jun 14, 2016 at 04:54:05PM -0700, Nelson Escobar wrote: > - add l4 ptypes to the ones we report as supporting > - report/use RTE_PTYPE_L3_IPV4_EXT_UNKNOWN and > RTE_PTYPE_L3_IPV6_EXT_UNKNOWN instead of RTE_PTYPE_L3_IPV4 and > RTE_PTYPE_L3_IPV6 as vic can't distinguish between packets with > extentions and those without extentions. > - correctly set the ptype bits set on packets that are both tcp/udp > and a frag > - set RTE_PTYPE_L4_NONFRAG on ip packets we know are not udp, tcp, > or fragments. > > Fixes: 947d860c821f ("enic: improve Rx performance") > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley Applied to dpdk-next-net/rel_16_07 /Bruce