[dpdk-dev] [PATCH 3/3] net/bnxt: check for chip reset in dev stop/close ops

2020-12-24 Thread Somnath Kotur
While the error recovery thread is running, an application can invoke dev_stop or dev_close_op thus triggering a race and unwanted consequences if dev_close is invoked while the recovery is not yet completed. Fix by having another lock to synchronize between the 2 threads and return EGAIN if adapte

[dpdk-dev] [PATCH 3/3] net/bnxt: check for chip reset in dev stop/close ops

2020-12-24 Thread Somnath Kotur
While the error recovery thread is running, an application can invoke dev_stop or dev_close_op thus triggering a race and unwanted consequences if dev_close is invoked while the recovery is not yet completed. Fix by having another lock to synchronize between the 2 threads and return EGAIN if adapte

[dpdk-dev] [PATCH 3/3] net/bnxt: check for chip reset in dev stop/close ops

2020-12-24 Thread Somnath Kotur
While the error recovery thread is running, an application can invoke dev_stop or dev_close_op thus triggering a race and unwanted consequences if dev_close is invoked while the recovery is not yet completed. Fix by having another lock to synchronize between the 2 threads and return EGAIN if adapte