]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Don't tell the OS that link is going down
authorMichal Swiatkowski <michal.swiatkowski@intel.com>
Thu, 13 Feb 2020 21:31:24 +0000 (13:31 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Feb 2020 19:50:41 +0000 (11:50 -0800)
commitf1e7630d25ce458e26c86f8e30af20752a75ddfb
tree0979bcd1f719102ad19b4c4bb271fab8b4aea7b4
parent47b49d7cff313b89384bfa1dab01578ac5901d3e
ice: Don't tell the OS that link is going down

Remove code that tell the OS that link is going down when user
change flow control via ethtool. When link is up it isn't certain
that link goes down after 0x0605 aq command. If link doesn't go
down, OS thinks that link is down, but physical link is up. To
reset this state user have to take interface down and up.

If link goes down after 0x0605 command, FW send information
about that and after that driver tells the OS that the link goes
down. So this code in ethtool is unnecessary.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@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_ethtool.c