diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-01-16 12:46:55 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-16 22:24:20 -0500 |
commit | a83ef427b7d97314df30d6e25abc7aa3a80ffcfd (patch) | |
tree | f9e62392b9cbd429cd7543db19da44518650b1ec /Documentation/devicetree/bindings/net/amd-xgbe-phy.txt | |
parent | 270894e7dc7afad8fb79592fe02aa05e604ddfc8 (diff) | |
download | op-kernel-dev-a83ef427b7d97314df30d6e25abc7aa3a80ffcfd.zip op-kernel-dev-a83ef427b7d97314df30d6e25abc7aa3a80ffcfd.tar.gz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/net/amd-xgbe-phy.txt')
0 files changed, 0 insertions, 0 deletions