Commit cf2de524 authored by Siva Reddy Kallam's avatar Siva Reddy Kallam Committed by Stefan Bader

tg3: Enable PHY reset in MTU change path for 5720

BugLink: http://bugs.launchpad.net/bugs/1764316

[ Upstream commit e60ee41a ]

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: default avatarSiva Reddy Kallam <siva.kallam@broadcom.com>
Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 73ae76f5
...@@ -14241,7 +14241,8 @@ static int tg3_change_mtu(struct net_device *dev, int new_mtu) ...@@ -14241,7 +14241,8 @@ static int tg3_change_mtu(struct net_device *dev, int new_mtu)
*/ */
if (tg3_asic_rev(tp) == ASIC_REV_57766 || if (tg3_asic_rev(tp) == ASIC_REV_57766 ||
tg3_asic_rev(tp) == ASIC_REV_5717 || 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; reset_phy = true;
err = tg3_restart_hw(tp, reset_phy); err = tg3_restart_hw(tp, reset_phy);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment