]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: thunderx: workaround BGX TX Underflow issue
authorTim Harvey <tharvey@gateworks.com>
Wed, 19 Feb 2020 23:19:36 +0000 (15:19 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 13 Mar 2020 12:26:53 +0000 (13:26 +0100)
commit9d42a7355f2ebf91797fa8f2ba08c7bc537572eb
tree53d76ba59f70c98a42b485349a4956504d4a54eb
parent1b88d6e2414bf7d86adb2d7a4c4597ccf568c602
net: thunderx: workaround BGX TX Underflow issue

BugLink: https://bugs.launchpad.net/bugs/1867178
[ Upstream commit 971617c3b761c876d686a2188220a33898c90e99 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
drivers/net/ethernet/cavium/thunder/thunder_bgx.h