diff options
author | Siva Reddy Kallam <siva.kallam@broadcom.com> | 2017-12-22 16:05:29 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 11:09:06 -0500 |
commit | e60ee41aaf898584205a6af5c996860d0fe6a836 (patch) | |
tree | c43ca99751ae295a9427607190c7f3222fb99ee8 /drivers/net | |
parent | 4419bb1cedcda0272e1dc410345c5a1d1da0e367 (diff) | |
download | linux-stable-e60ee41aaf898584205a6af5c996860d0fe6a836.tar.gz linux-stable-e60ee41aaf898584205a6af5c996860d0fe6a836.tar.bz2 linux-stable-e60ee41aaf898584205a6af5c996860d0fe6a836.zip |
tg3: Enable PHY reset in MTU change path for 5720
A customer noticed RX path hang when MTU is changed on the fly while
running heavy traffic with NCSI enabled for 5717 and 5719. Since 5720
belongs to same ASIC family, we observed same issue and same fix
could solve this problem for 5720.
Signed-off-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index a0caa71a8c3b..8995cfefbfcf 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -14239,7 +14239,8 @@ static int tg3_change_mtu(struct net_device *dev, int new_mtu) */ if (tg3_asic_rev(tp) == ASIC_REV_57766 || tg3_asic_rev(tp) == ASIC_REV_5717 || - tg3_asic_rev(tp) == ASIC_REV_5719) + tg3_asic_rev(tp) == ASIC_REV_5719 || + tg3_asic_rev(tp) == ASIC_REV_5720) reset_phy = true; err = tg3_restart_hw(tp, reset_phy); |