commit | 5449e27167c9945d24108690aff86943d79774a7 | [log] [tgz] |
---|---|---|
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | Thu Nov 20 11:03:26 2014 -0600 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 21 15:19:10 2014 -0500 |
tree | 480ae3e95e6190898d0e969678ca349508feaf03 | |
parent | 91ecee6846704cbd0ec14509b86e99c291cd9bcd [diff] |
amd-xgbe: Add a read memory barrier to Tx/Rx path Add a read memory barrier to the Tx and Rx paths where the ownership bit is checked to be sure that all descriptor fields are read after having read the ownership bit for the descriptor. This has not been an issue to date, but it's a good safe-guard to have. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>