Skip to content

Commit 2b7a5e1

Browse files
committed
net: hns3: Remove io_stop_wc() calls after __iowrite64_copy()
Now that the ARM64 arch implementation does the DGH as part of __iowrite64_copy() there is no reason to open code this in drivers. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jijie Shao<[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent ead7911 commit 2b7a5e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,8 +2068,6 @@ static void hns3_tx_push_bd(struct hns3_enet_ring *ring, int num)
20682068
__iowrite64_copy(ring->tqp->mem_base, desc,
20692069
(sizeof(struct hns3_desc) * HNS3_MAX_PUSH_BD_NUM) /
20702070
HNS3_BYTES_PER_64BIT);
2071-
2072-
io_stop_wc();
20732071
}
20742072

20752073
static void hns3_tx_mem_doorbell(struct hns3_enet_ring *ring)
@@ -2088,8 +2086,6 @@ static void hns3_tx_mem_doorbell(struct hns3_enet_ring *ring)
20882086
u64_stats_update_begin(&ring->syncp);
20892087
ring->stats.tx_mem_doorbell += ring->pending_buf;
20902088
u64_stats_update_end(&ring->syncp);
2091-
2092-
io_stop_wc();
20932089
}
20942090

20952091
static void hns3_tx_doorbell(struct hns3_enet_ring *ring, int num,

0 commit comments

Comments
 (0)