net: ftgmac100: Ensure tx descriptor updates are visible
authorJacky Chou <jacky_chou@aspeedtech.com>
Thu, 22 Aug 2024 07:30:06 +0000 (15:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Aug 2024 13:05:29 +0000 (14:05 +0100)
commit4186c8d9e6af57bab0687b299df10ebd47534a0a
tree0c0811c0159fab2483be5409286d54e23f1d8360
parent8af174ea863c72f25ce31cee3baad8a301c0cf0f
net: ftgmac100: Ensure tx descriptor updates are visible

The driver must ensure TX descriptor updates are visible
before updating TX pointer and TX clear pointer.

This resolves TX hangs observed on AST2600 when running
iperf3.

Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c