OpenCloudOS-Kernel/drivers/net/ethernet/chelsio
Ganji Aravind c650e04898 cxgb4: Fix race between loopback and normal Tx path
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: 7235ffae3d ("cxgb4: add loopback ethtool self-test")
Signed-off-by: Ganji Aravind <ganji.aravind@chelsio.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-18 13:02:51 -07:00
..
cxgb net: cxgb2: reject unsupported coalescing params 2020-03-10 16:28:53 -07:00
cxgb3 net: cxgb3: reject unsupported coalescing params 2020-03-10 16:28:53 -07:00
cxgb4 cxgb4: Fix race between loopback and normal Tx path 2020-08-18 13:02:51 -07:00
cxgb4vf cxgb4vf: configure ports accessible by the VF 2020-06-30 15:54:25 -07:00
libcxgb net/chelsio: Delete drive and module versions 2020-03-03 17:54:54 -08:00
Kconfig docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00