[dpdk-dev] [PATCH] net/octeontx: fix failures when available ports > queues

Ferruh Yigit ferruh.yigit at intel.com
Fri Nov 16 12:05:03 CET 2018


On 11/14/2018 10:40 AM, Jerin Jacob wrote:
> -----Original Message-----
>> Date: Wed, 14 Nov 2018 14:52:03 +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: "Joseph, Anoob" <Anoob.Joseph at cavium.com>, "Athreya, Narayana Prasad"
>>  <NarayanaPrasad.Athreya at cavium.com>, "Bhagavatula, Pavan"
>>  <Pavan.Bhagavatula at cavium.com>, "dev at dpdk.org" <dev at dpdk.org>,
>>  "stable at dpdk.org" <stable at dpdk.org>
>> Subject: [PATCH] net/octeontx: fix failures when available ports > queues
>>
>> When eth_octeontx is initialized before event_octeontx, eth_octeontx
>> would initiate setting up of the event device with the max ports and
>> queues available. If number of ports is more than the number of queues,
>> some ports would be left unused when the ports and queues are mapped
>> 1:1. But even in that case the ports need to be setup, or otherwise it
>> would lead to a segmentation fault when event device is started.
>>
>> Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove")
> Cc: stable at dpdk.org
>>
>> Signed-off-by: Anoob Joseph <anoob.joseph at caviumnetworks.com>
>> Signed-off-by: Pavan Nikhilesh <pbhagavatula 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