From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] fm10k: set packet type for multi-segment packets Date: Thu, 21 Apr 2016 15:03:50 +0100 Message-ID: <20160421140350.GA3808@bricha3-MOBL3> References: <1460983912-14287-1-git-send-email-michael.frasca@oracle.com> <4341B239C0EFF9468EE453F9E9F4604D04488388@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Michael Frasca , "dev@dpdk.org" To: "Chen, Jing D" Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 629782C16 for ; Thu, 21 Apr 2016 16:04:45 +0200 (CEST) Content-Disposition: inline In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D04488388@shsmsx102.ccr.corp.intel.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 Mon, Apr 18, 2016 at 02:05:23PM +0000, Chen, Jing D wrote: > Hi, > > > -----Original Message----- > > From: Michael Frasca [mailto:michael.frasca@oracle.com] > > Sent: Monday, April 18, 2016 8:52 PM > > To: Chen, Jing D > > Cc: dev@dpdk.org; Michael Frasca > > Subject: [PATCH v2] fm10k: set packet type for multi-segment packets > > > > When building a chain of mbufs for a multi-segment packet, the packet_type > > field resides at the end of the chain. It should be copied forward to the head > > of the list. > > > > Also, uses RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE to guard packet-type > > computation. The mbuf fields are not copied when this define is not set. > > > > Fixes: fe65e1e1ce61 ("fm10k: add vector scatter Rx") > > > > Signed-off-by: Michael Frasca > Acked-by : Jing Chen > Applied to dpdk-next-net/rel_16_07 /Bruce