]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ice: Check for actual link state of port after reset
authorDave Ertman <david.m.ertman@intel.com>
Thu, 20 Sep 2018 00:23:15 +0000 (17:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 2 Oct 2018 14:15:22 +0000 (07:15 -0700)
commit5755143dd18d3b7fa97b419d18d9bb4764b7b46f
tree156cc8e6de4a04f4938bd89f86e0504a56496324
parent334cb0626de1b793a26d693051060f8dbf0e5b90
ice: Check for actual link state of port after reset

We are currently replaying the link state of a port after a reset, but
it is possible that the link state of a port can change during the reset
process. So check for the current link state of a port during the rebuild
process of a reset.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_main.c