net: thunderx: workaround BGX TX Underflow issue
authorTim Harvey <tharvey@gateworks.com>
Wed, 19 Feb 2020 23:19:36 +0000 (15:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Feb 2020 23:49:20 +0000 (15:49 -0800)
commit971617c3b761c876d686a2188220a33898c90e99
tree29a9a168f861b8570e68ede14725eae4f331a143
parent68b759a75d6257759d1e37ff13f2d0659baf1112
net: thunderx: workaround BGX TX Underflow issue

While it is not yet understood why a TX underflow can easily occur
for SGMII interfaces resulting in a TX wedge. It has been found that
disabling/re-enabling the LMAC resolves the issue.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Robert Jones <rjones@gateworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
drivers/net/ethernet/cavium/thunder/thunder_bgx.h