Yangchao Zhou 58c18bc114 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.

Signed-off-by: Yangchao Zhou <zhouyates@gmail.com>
Acked-by: Harish Patil <harish.patil@cavium.com>
2018-04-27 17:34:41 +01:00
..
2018-01-22 01:26:49 +01:00
2017-10-06 18:23:25 +02:00
2015-12-13 01:58:10 +01:00
2017-06-14 23:54:13 +02:00
2015-12-13 01:58:10 +01:00
2017-06-14 23:54:13 +02:00
2015-12-13 01:58:10 +01:00
2017-06-14 23:54:13 +02:00
2015-12-13 01:58:10 +01:00
2015-12-13 01:58:10 +01:00
2017-06-14 23:54:13 +02:00
2015-12-13 01:58:10 +01:00