Re: [dpdk-dev] [PATCH 1/2] net/bnxt: fix headroom initialization

2017-12-14 Thread Ajit Khaparde
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 h

[dpdk-dev] [PATCH 1/2] net/bnxt: fix headroom initialization

2017-12-14 Thread Olivier Matz
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")