From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by dpdk.org (Postfix) with ESMTP id 5E3B014E8 for ; Thu, 14 Dec 2017 18:48:14 +0100 (CET) Received: by mail-qk0-f172.google.com with SMTP id u184so7239658qkd.6 for ; Thu, 14 Dec 2017 09:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2Wrj6E6mu5O6zWXqwINzH4tN+dg3lGApSmU37b180Bs=; b=DXtxW/SO6VOFORnJZrWsUHvTQAqSe6KMjK2qEfZ+27wFKqiuJBX1erxwIADN717EYq wOY1fzSPFm+fZmvdANXJS9nU1J06UUY409M7DDGglxGQdsc6t6uMqBzKyOe079s9xyuW /jqEZtnKCQQ0QVXJfZ/7XdECoxwQ3vcrwjDeA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2Wrj6E6mu5O6zWXqwINzH4tN+dg3lGApSmU37b180Bs=; b=SFKj3DN+XtNh7hZfFRvDM0PxbAoHhHhK0ENp/3XAoFbOT0ztBsCKo7z9O1k3729+p0 J4UIu0nYXRlArl6s/bsMNWHBMkpUweejwDpcLALyvy0NhQCcqAbi4O3jVKEW0WtFSmQs ctCaRJHBtvFWXGd0Si3VBl3+fpixO5rMumOor7siL8KxxQgc/8qo55newG43U3UaMKrv L7GUbfO9barDnA9Fzf1497Zu9DcSp8VdDCeMhxGghOoJOSckWNyT/bwBbu51BablJzSJ RYarblNW8xZvfBRp341lOHeEiZG83201nrKwAp8CoLQarn33Jz5fyijZwjdTOBuHpPEc TuKg== X-Gm-Message-State: AKGB3mIbhJub9H99/24GBbPnP0AGyLOlLq5ndz7U6vV91NC62JQjUKpw XZcxT1kDVXG1YLmtIGvHIRxiqVogu1FRTLlJtgv1Xg== X-Google-Smtp-Source: ACJfBot/GNjOhYE+a+PQzede8y3TTKeuVjaGy1OWMrwogqw0eM9gitfhRjZO/3xmoAWPslboKLxA6cecl+EgcF6dcNA= X-Received: by 10.233.220.199 with SMTP id q190mr17686223qkf.72.1513273693734; Thu, 14 Dec 2017 09:48:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.44.99 with HTTP; Thu, 14 Dec 2017 09:47:33 -0800 (PST) In-Reply-To: <20171214142825.28176-1-olivier.matz@6wind.com> References: <20171214142825.28176-1-olivier.matz@6wind.com> From: Ajit Khaparde Date: Thu, 14 Dec 2017 09:47:33 -0800 Message-ID: To: Olivier Matz Cc: dev@dpdk.org, Stephen Hurd , dpdk stable Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH 1/2] net/bnxt: fix headroom initialization X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 17:48:14 -0000 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