diff options
author | Nick Child <nnac123@linux.ibm.com> | 2024-08-07 16:18:06 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-09 22:09:18 -0700 |
commit | 6e7a57581abea5335cbf29d738724d25d3c302d7 (patch) | |
tree | 3f45566b14a6efcb36e6f0307e707db1e723e14a /drivers/net/ethernet/ibm/ibmvnic.c | |
parent | d95f749a0b5e42a30d7025d19c15a11c1a570e72 (diff) |
ibmvnic: Remove duplicate memory barriers in tx
send_subcrq_[in]direct() already has a dma memory barrier.
Remove the earlier one.
Signed-off-by: Nick Child <nnac123@linux.ibm.com>
Link: https://patch.msgid.link/20240807211809.1259563-5-nnac123@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.c')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 58a517ecbda3..256feac588ef 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -2459,9 +2459,6 @@ static netdev_tx_t ibmvnic_xmit(struct sk_buff *skb, struct net_device *netdev) skb_copy_from_linear_data(skb, dst, skb->len); } - /* post changes to long_term_buff *dst before VIOS accessing it */ - dma_wmb(); - tx_pool->consumer_index = (tx_pool->consumer_index + 1) % tx_pool->num_buffers; |