Ganji Aravind wrote: > Even after Tx queues are marked stopped, there exists a > small window where the current packet in the normal Tx > path is still being sent out and loopback selftest ends > up corrupting the same Tx ring. So, ensure selftest takes > the Tx lock to synchronize access the Tx ring. > > Fixes: 7235ffae3d2c ("cxgb4: add loopback ethtool self-test") > Signed-off-by: Ganji Aravind <ganji.arav...@chelsio.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeb...@intel.com>