Star64_linux/drivers/net/ethernet/amd/xgbe
Lendacky, Thomas a83ef427b7 amd-xgbe: Remove need for Tx path spinlock
Since the Tx ring cleanup can run at the same time that data is being
transmitted, a spin lock was used to protect the ring. This patch
eliminates the need for Tx spinlocks by updating the current ring
position only after all ownership bits for data being transmitted have
been set. This will insure that ring operations in the Tx cleanup path
do not interfere with the ring operations in the Tx transmit path.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-16 22:24:20 -05:00
..
Makefile amd-xgbe: Add traffic class support 2014-07-30 18:46:53 -07:00
xgbe-common.h amd-xgbe: Tx engine must not be active before stopping it 2014-11-21 15:19:10 -05:00
xgbe-dcb.c amd-xgbe: Checkpatch driver fixes 2014-09-05 15:11:20 -07:00
xgbe-debugfs.c amd-xgbe: Checkpatch fixes 2015-01-16 22:24:19 -05:00
xgbe-desc.c amd-xgbe: Simplify the Rx desciptor ring tracking 2015-01-16 22:24:20 -05:00
xgbe-dev.c amd-xgbe: Remove need for Tx path spinlock 2015-01-16 22:24:20 -05:00
xgbe-drv.c amd-xgbe: Remove need for Tx path spinlock 2015-01-16 22:24:20 -05:00
xgbe-ethtool.c ethtool: Support for configurable RSS hash function 2014-12-08 21:07:10 -05:00
xgbe-main.c amd-xgbe: Clear all state during a device restart 2015-01-16 22:24:20 -05:00
xgbe-mdio.c amd-xgbe: Add check to be sure amd-xgbe-phy driver is used 2015-01-16 22:24:19 -05:00
xgbe-ptp.c net: xgbe: convert to timecounter adjtime. 2014-12-30 18:29:26 -05:00
xgbe.h amd-xgbe: Simplify the Rx desciptor ring tracking 2015-01-16 22:24:20 -05:00