numam-dpdk/drivers/net/octeontx/base
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
..
meson.build net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
octeontx_bgx.c common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
octeontx_bgx.h drivers: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
octeontx_io.h use registered name for OCTEON TX references 2018-10-26 14:16:05 +02:00
octeontx_pki_var.h net/octeontx: fix mbuf corruption with large private sizes 2018-11-14 00:35:53 +01:00
octeontx_pkivf.c common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
octeontx_pkivf.h common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
octeontx_pkovf.c drivers: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
octeontx_pkovf.h drivers: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00