From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes Date: Tue, 13 Nov 2018 10:32:28 +0000 Message-ID: <20181113103215.GA6613@jerin> References: <1542045165-31148-1-git-send-email-anoob.joseph@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: Ferruh Yigit , "Jacob, Jerin" , "Saxena, Nitin" , "Athreya, Narayana Prasad" , "dev@dpdk.org" , "stable@dpdk.org" To: "Joseph, Anoob" Return-path: In-Reply-To: <1542045165-31148-1-git-send-email-anoob.joseph@caviumnetworks.com> Content-Language: en-US Content-ID: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Mon, 12 Nov 2018 23:24:09 +0530 > From: "Joseph, Anoob" > To: Ferruh Yigit , "Jacob, Jerin" > > CC: "Saxena, Nitin" , "Joseph, Anoob" > , "Athreya, Narayana Prasad" > , "dev@dpdk.org" , > "stable@dpdk.org" > Subject: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes >=20 > From: Nitin Saxena >=20 > When the priv_size of the mbuf is > 128 bytes, the mbuf would not be > properly constructed. This would lead to a corrupt mbuf. >=20 > This patch fixes the issue by accounting for > rte_pktmbuf_priv_size(pool) and RTE_PKTMBUF_HEADROOM > while configuring first skip register calculation. >=20 > Fixes: 197438ee9f18 ("net/octeontx: add Rx queue setup and release ops") > Cc: stable@dpdk.org >=20 > Suggested-by: Jerin Jacob > Signed-off-by: Anoob Joseph > Signed-off-by: Nitin Saxena Acked-by: Jerin Jacob