Re: [dpdk-dev] [PATCH 02/13] net/bnxt: prevent device access when device is in reset

2019-08-27 Thread Ferruh Yigit
On 8/22/2019 6:53 AM, Ajit Khaparde wrote: > From: Kalesh AP > > Refactor init and uninit functions so that the driver can fail > the eth_dev_ops callbacks and accessing Tx and Rx queues > when device is in reset or in error state. > > Transmit and receive queues are freed during reset cleanup a

[dpdk-dev] [PATCH 02/13] net/bnxt: prevent device access when device is in reset

2019-08-21 Thread Ajit Khaparde
From: Kalesh AP Refactor init and uninit functions so that the driver can fail the eth_dev_ops callbacks and accessing Tx and Rx queues when device is in reset or in error state. Transmit and receive queues are freed during reset cleanup and reallocated during recovery. So we block all data path