aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorDave Ertman <[email protected]>2020-05-08 00:41:02 +0000
committerJeff Kirsher <[email protected]>2020-05-22 05:10:04 +0000
commit46a316500e060abd4c5745f45ffdc28d426dc99b (patch)
treea1c538d9ec6cdd0c33f5ac9be87fd41c3742c9c1 /drivers/net/ethernet/intel/ice/ice_lib.c
parentice: Fix check for contiguous TCs (diff)
downloadkernel-46a316500e060abd4c5745f45ffdc28d426dc99b.tar.gz
kernel-46a316500e060abd4c5745f45ffdc28d426dc99b.zip
ice: only drop link once when setting pauseparams
Currently, the ice driver is setting a PHY configuration, which causes a link drop, and then additionally it calls for a nway_reset, which restarts auto-negotiation on the link, which also causes a link drop. These two link events in such close timing is causing the FW to not be able to generate a link interrupt for the driver to respond to. Remove the unnecessary auto-negotiation restart from the set pauseparams flow. Also remove error path that would have performed an ice_down/ice_up as that is also unnecessary. Signed-off-by: Dave Ertman <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions