> -----Original Message----- > From: kka...@marvell.com <kka...@marvell.com> > Sent: Monday, July 22, 2019 8:29 PM > To: dev@dpdk.org; Jerin Jacob Kollanukkaran <jer...@marvell.com>; Nithin > Kumar Dabilpuram <ndabilpu...@marvell.com>; Kiran Kumar Kokkilagadda > <kirankum...@marvell.com> > Cc: Krzysztof Kanas <kka...@marvell.com> > Subject: [dpdk-dev] [PATCH v2] net/octeontx2: fix driver reconfiguration > > From: Krzysztof Kanas <kka...@marvell.com> > > When configure returns error, e.g. in case not supported offloads (outer ip > and sctp) driver released Rx,Tx queues. Then in case of correct configuration > the driver could not start due to queues already released but the driver > thought it was configured correctly. > > Secondly if driver returns error from configuration librte_ethdev will > release, > rx queues and tx queues, without chaining driver configured state. > > Fix that by 'releasing' configuration and changing driver state when error is > returned from otx2_nix_configure. > > Fixes: 548b5839a32b ("net/octeontx2: add device configure operation") > > Signed-off-by: Krzysztof Kanas <kka...@marvell.com> > Reviewed-by: Nithin Kumar Dabilpuram <ndabilpu...@marvell.com>
Acked-by: Jerin Jacob <jer...@marvell.com> Applied to dpdk-next-net-mrvl/master. Thanks