From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes Date: Tue, 13 Nov 2018 11:53:06 +0000 Message-ID: References: <1542045165-31148-1-git-send-email-anoob.joseph@caviumnetworks.com> <20181113103215.GA6613@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "Jacob, Jerin" , "Saxena, Nitin" , "Athreya, Narayana Prasad" , "dev@dpdk.org" , "stable@dpdk.org" To: Jerin Jacob , "Joseph, Anoob" Return-path: In-Reply-To: <20181113103215.GA6613@jerin> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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" , >> "stable@dpdk.org" >> Subject: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes >> >> 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. >> >> Fixes: 197438ee9f18 ("net/octeontx: add Rx queue setup and release ops") >> Cc: stable@dpdk.org >> >> Suggested-by: Jerin Jacob >> Signed-off-by: Anoob Joseph >> Signed-off-by: Nitin Saxena > > > Acked-by: Jerin Jacob > Applied to dpdk-next-net/master, thanks.