i40e: do not enter PHY debug mode while setting LEDs behaviour
authorMariusz Stachura <mariusz.stachura@intel.com>
Tue, 29 Aug 2017 09:32:40 +0000 (05:32 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Oct 2017 15:11:32 +0000 (08:11 -0700)
commit052b93d0c2ecf693f13561b4b100d541ced41af0
tree69c0405eced47a04d882d626ccca8cd479faee61
parent19b7960b2da1db56ec3f8b478c70bab244feb644
i40e: do not enter PHY debug mode while setting LEDs behaviour

Previous implementation of LED set/get functions required to enter
PHY debug mode, in order to prevent access to it from FW and SW at
the same time. Reset of all ports was a unwanted side effect.

Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c