From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajit Khaparde Subject: Re: [PATCH 1/2] net/bnxt: fix headroom initialization Date: Thu, 14 Dec 2017 09:47:33 -0800 Message-ID: References: <20171214142825.28176-1-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Stephen Hurd , dpdk stable To: Olivier Matz Return-path: Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by dpdk.org (Postfix) with ESMTP id 53019107A for ; Thu, 14 Dec 2017 18:48:14 +0100 (CET) Received: by mail-qk0-f170.google.com with SMTP id i130so7239253qke.4 for ; Thu, 14 Dec 2017 09:48:14 -0800 (PST) In-Reply-To: <20171214142825.28176-1-olivier.matz@6wind.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 Thu, Dec 14, 2017 at 6:28 AM, Olivier Matz wrote: > When allocating a new mbuf for Rx, the value of m->data_off should not > 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. > > Fixes: 2eb53b134aae ("net/bnxt: add initial Rx code") > Cc: stable@dpdk.org > > =E2=80=8B=E2=80=8B > Signed-off-by: Olivier Matz > Acked-by: Ajit Khaparde =E2=80=8B=E2=80=8B