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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 07:17:03 +0000 (08:17 +0100)
commit710c65c8c8551a24bf9b4bd761de65259bbe8d74
tree3f71340ec562cfe2880dcc14ef1f517ad5a87e8e
parent7e6782271fd832c5ae1e038147ede8e27195cc95
tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths

[ Upstream commit 59663e42199c93d1d7314d1446f6782fc4b1eb81 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/tg3.c