-----Original Message----- > Date: Mon, 12 Nov 2018 23:24:09 +0530 > From: "Joseph, Anoob" <[email protected]> > To: Ferruh Yigit <[email protected]>, "Jacob, Jerin" > <[email protected]> > CC: "Saxena, Nitin" <[email protected]>, "Joseph, Anoob" > <[email protected]>, "Athreya, Narayana Prasad" > <[email protected]>, "[email protected]" <[email protected]>, > "[email protected]" <[email protected]> > Subject: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes > > From: Nitin Saxena <[email protected]> > > 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: 197438ee9f18 ("net/octeontx: add Rx queue setup and release ops") > Cc: [email protected] > > Suggested-by: Jerin Jacob <[email protected]> > Signed-off-by: Anoob Joseph <[email protected]> > Signed-off-by: Nitin Saxena <[email protected]>
Acked-by: Jerin Jacob <[email protected]>

