]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:18:28 +0000 (07:18 +0100)
commitfdcdc6f3965c208db8b55c5288a05d6ea0ba092d
tree361cc039f41c65a1f087f400257eb258b8c5d08e
parentdcf56a63f6119c34469967e63fe7151864163880
net: thunderx: workaround BGX TX Underflow issue

[ 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>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
drivers/net/ethernet/cavium/thunder/thunder_bgx.h