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

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 13 12:53:06 CET 2018


On 11/13/2018 10:32 AM, Jerin Jacob wrote:
> -----Original Message-----
>> Date: Mon, 12 Nov 2018 23:24:09 +0530
>> From: "Joseph, Anoob" <Anoob.Joseph at cavium.com>
>> To: Ferruh Yigit <ferruh.yigit at intel.com>, "Jacob,  Jerin"
>>  <Jerin.JacobKollanukkaran at cavium.com>
>> CC: "Saxena, Nitin" <Nitin.Saxena at cavium.com>, "Joseph, Anoob"
>>  <Anoob.Joseph at cavium.com>, "Athreya, Narayana Prasad"
>>  <NarayanaPrasad.Athreya at cavium.com>, "dev at dpdk.org" <dev at dpdk.org>,
>>  "stable at dpdk.org" <stable at dpdk.org>
>> Subject: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes
>>
>> From: Nitin Saxena <nitin.saxena at caviumnetworks.com>
>>
>> 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 at dpdk.org
>>
>> Suggested-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
>> Signed-off-by: Anoob Joseph <anoob.joseph at caviumnetworks.com>
>> Signed-off-by: Nitin Saxena <nitin.saxena at caviumnetworks.com>
> 
> 
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> 

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list