> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Monday, July 22, 2019 8:29 PM
> To: [email protected]; Jerin Jacob Kollanukkaran <[email protected]>; Nithin
> Kumar Dabilpuram <[email protected]>; Kiran Kumar Kokkilagadda
> <[email protected]>
> Cc: Krzysztof Kanas <[email protected]>
> Subject: [dpdk-dev] [PATCH v2] net/octeontx2: fix driver reconfiguration
> 
> From: Krzysztof Kanas <[email protected]>
> 
> 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 <[email protected]>
> Reviewed-by: Nithin Kumar Dabilpuram <[email protected]>

Acked-by: Jerin Jacob <[email protected]>

Applied to dpdk-next-net-mrvl/master. Thanks

Reply via email to