linux_dsm_epyc7002/drivers/net/ethernet/samsung/sxgbe
Lino Sanfilippo 980f140493 net: ethernet: sxgbe: remove private tx queue lock
The driver uses a private lock for synchronization of the xmit function and
the xmit completion handler, but since the NETIF_F_LLTX flag is not set,
the xmit function is also called with the xmit_lock held.

On the other hand the completion handler uses the reverse locking order by
first taking the private lock and (in case that the tx queue had been
stopped) then the xmit_lock.

Improve the locking by removing the private lock and using only the
xmit_lock for synchronization instead.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-10 23:23:35 -05:00
..
Makefile sxgbe: remove unused code 2016-02-10 06:10:17 -05:00
sxgbe_common.h net: ethernet: sxgbe: remove private tx queue lock 2016-12-10 23:23:35 -05:00
sxgbe_core.c
sxgbe_desc.c
sxgbe_desc.h
sxgbe_dma.c
sxgbe_dma.h
sxgbe_ethtool.c net: ethernet: sxgbe: use phy_ethtool_{get|set}_link_ksettings 2016-06-28 09:12:35 -04:00
sxgbe_main.c net: ethernet: sxgbe: remove private tx queue lock 2016-12-10 23:23:35 -05:00
sxgbe_mdio.c phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
sxgbe_mtl.c
sxgbe_mtl.h
sxgbe_platform.c net: sxgbe: fix error paths in sxgbe_platform_probe() 2016-03-27 22:39:22 -04:00
sxgbe_reg.h