From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] net/octeontx: fix failures when available ports > queues Date: Wed, 14 Nov 2018 10:40:08 +0000 Message-ID: <20181114103957.GA3108@jerin> References: <1542187282-30800-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" , "Athreya, Narayana Prasad" , "Bhagavatula, Pavan" , "dev@dpdk.org" , "stable@dpdk.org" To: "Joseph, Anoob" Return-path: In-Reply-To: <1542187282-30800-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: Wed, 14 Nov 2018 14:52:03 +0530 > From: "Joseph, Anoob" > To: Ferruh Yigit , "Jacob, Jerin" > > CC: "Joseph, Anoob" , "Athreya, Narayana Prasad" > , "Bhagavatula, Pavan" > , "dev@dpdk.org" , > "stable@dpdk.org" > Subject: [PATCH] net/octeontx: fix failures when available ports > queues >=20 > 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. >=20 > Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove") Cc: stable@dpdk.org >=20 > Signed-off-by: Anoob Joseph > Signed-off-by: Pavan Nikhilesh > --- Acked-by: Jerin Jacob