OSDN Git Service

tg3: Fix rx hang on MTU change with 5717/5719
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 15 Dec 2017 21:21:50 +0000 (15:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Jan 2018 19:35:12 +0000 (20:35 +0100)
commit484369ff9715ed4f7a2d7b3da27249674a25a523
tree92ab7045e394a12a0a3e99691e5ada40068a86b2
parent7887a700ce613bcf200edda53ca824d691c6ee8f
tg3: Fix rx hang on MTU change with 5717/5719

[ Upstream commit 748a240c589824e9121befb1cba5341c319885bc ]

This fixes a hang issue seen when changing the MTU size from 1500 MTU
to 9000 MTU on both 5717 and 5719 chips. In discussion with Broadcom,
they've indicated that these chipsets have the same phy as the 57766
chipset, so the same workarounds apply. This has been tested by IBM
on both Power 8 and Power 9 systems as well as by Broadcom on x86
hardware and has been confirmed to resolve the hang issue.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/tg3.c