tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths
authorSiva Reddy Kallam <siva.kallam@broadcom.com>
Tue, 20 Nov 2018 04:34:04 +0000 (10:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 18:18:05 +0000 (10:18 -0800)
commit59663e42199c93d1d7314d1446f6782fc4b1eb81
treed0286dafbd2bc3e30af491dd7adc051f23351ad2
parent1359f25106cad6535812f900625150379c51df82
tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths

This patch has the fix to avoid PHY lockup with 5717/5719/5720 in change
ring and flow control paths. This patch solves the RX hang while doing
continuous ring or flow control parameters with heavy traffic from peer.

Signed-off-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c