[dpdk-dev] [PATCH] net/bnx2x: reserve enough headroom for mbuf prepend

Ferruh Yigit ferruh.yigit at intel.com
Tue Apr 24 14:38:58 CEST 2018


On 4/23/2018 6:10 PM, Patil, Harish wrote:
> From: zhouyangchao <zhouyates at gmail.com <mailto:zhouyates at gmail.com>>
> Date: Wednesday, March 7, 2018 at 10:57 PM
> To: Ferruh Yigit <ferruh.yigit at intel.com <mailto:ferruh.yigit at intel.com>>
> Cc: "dev at dpdk.org <mailto:dev at dpdk.org>" <dev at dpdk.org <mailto:dev at dpdk.org>>,
> Harish Patil <Harish.Patil at cavium.com <mailto:Harish.Patil at cavium.com>>, "Mody,
> Rasesh" <Rasesh.Mody at cavium.com <mailto:Rasesh.Mody at cavium.com>>
> 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 <ferruh.yigit at intel.com
>     <mailto:ferruh.yigit at intel.com>> 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 <zhouyates at gmail.com <mailto:zhouyates at gmail.com>>

<...>

> Acked-by: Harish Patil <harish.patil at cavium.com <mailto:harish.patil at cavium.com>>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list