Re: [dpdk-dev] [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes

2018-11-13 Thread Ferruh Yigit
On 11/13/2018 10:32 AM, Jerin Jacob wrote: > -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" , >> "sta...@dpdk.org

Re: [dpdk-dev] [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes

2018-11-13 Thread Jerin Jacob
-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" , > "sta...@dpdk.org" > Subject: [PATCH] net/octeontx: fix mbuf corrupti

[dpdk-dev] [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes

2018-11-12 Thread Anoob Joseph
From: Nitin Saxena 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. F