numam-dpdk/drivers/net/octeontx
Nitin Saxena 679dfdc96e net/octeontx: fix mbuf corruption with large private sizes
When the priv_size of the mbuf is > 128 bytes, the mbuf would not be
properly constructed. This would lead to a corrupt mbuf.

This patch fixes the issue by accounting for
rte_pktmbuf_priv_size(pool) and RTE_PKTMBUF_HEADROOM
while configuring first skip register calculation.

Fixes: 197438ee9f ("net/octeontx: add Rx queue setup and release ops")
Cc: stable@dpdk.org

Suggested-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
Signed-off-by: Nitin Saxena <nitin.saxena@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2018-11-14 00:35:53 +01:00
..
base net/octeontx: fix mbuf corruption with large private sizes 2018-11-14 00:35:53 +01:00
Makefile common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
meson.build net/octeontx: register fpa as platform HW mempool 2018-02-05 19:56:04 +01:00
octeontx_ethdev.c net/octeontx: fix mbuf corruption with large private sizes 2018-11-14 00:35:53 +01:00
octeontx_ethdev.h ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
octeontx_logs.h net/octeontx: implement dynamic logging 2018-01-16 18:47:49 +01:00
octeontx_rxtx.c event/octeontx: support Tx adapter 2018-10-01 16:52:07 +02:00
octeontx_rxtx.h event/octeontx: support Tx adapter 2018-10-01 16:52:07 +02:00
rte_pmd_octeontx_version.map net/octeontx: add channel to port id mapping 2018-01-16 18:47:49 +01:00