summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2022-03-05 03:54:39 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 09:08:27 +0200
commit44011dcc079e50bc81108bc02775901117f88e5e (patch)
treee35700a2a0e6912e3a25f9f9fee921c86b3dc05a /arch
parent6abfcac74c8bc0a1eb059fb46fc097f70431f428 (diff)
bnxt_en: Eliminate unintended link toggle during FW reset
[ Upstream commit 7c492a2530c1f05441da541307c2534230dfd59b ] If the flow control settings have been changed, a subsequent FW reset may cause the ethernet link to toggle unnecessarily. This link toggle will increase the down time by a few seconds. The problem is caused by bnxt_update_phy_setting() detecting a false mismatch in the flow control settings between the stored software settings and the current FW settings after the FW reset. This mismatch is caused by the AUTONEG bit added to link_info->req_flow_ctrl in an inconsistent way in bnxt_set_pauseparam() in autoneg mode. The AUTONEG bit should not be added to link_info->req_flow_ctrl. Reviewed-by: Colin Winegarden <colin.winegarden@broadcom.com> Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions