From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/bnx2x: reserve enough headroom for mbuf prepend Date: Tue, 24 Apr 2018 13:38:58 +0100 Message-ID: References: <6fd6d52e-a756-45ad-9666-60fa7ca676cd@zyc-PC.local> <4a1a34a8-87a9-5776-dfeb-1be4fe59eb12@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: "dev@dpdk.org" , "Mody, Rasesh" To: "Patil, Harish" , zhouyangchao Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4D88A2C15 for ; Tue, 24 Apr 2018 14:39:00 +0200 (CEST) In-Reply-To: Content-Language: en-US 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 4/23/2018 6:10 PM, Patil, Harish wrote: > From: zhouyangchao > > Date: Wednesday, March 7, 2018 at 10:57 PM > To: Ferruh Yigit > > Cc: "dev@dpdk.org " >, > Harish Patil >, "Mody, > Rasesh" > > Subject: Re: [dpdk-dev] [PATCH] net/bnx2x: reserve enough headroom for mbuf prepend > > When allocating a new mbuf for Rx, the value of m->data_off should be  > reset to its default value (RTE_PKTMBUF_HEADROOM), instead of reusing  > the previous undefined value, which could cause the packet to have a too  > small or too high headroom. > > On Mon, Mar 5, 2018 at 11:28 PM Ferruh Yigit > wrote: > > On 2/6/2018 11:21 AM, zhouyangchao wrote: > > Can you please provide more information why this patch is needed? > > > Signed-off-by: Yangchao Zhou > <...> > Acked-by: Harish Patil > Applied to dpdk-next-net/master, thanks.