]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix for 10G ports LED not blinking
authorPiotr Marczak <piotr.marczak@intel.com>
Wed, 6 Feb 2019 23:08:19 +0000 (15:08 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Apr 2019 22:10:43 +0000 (15:10 -0700)
commitaa1722eaf5f0338ba871c97e3a2cda54b78d3a69
treea1be8e50b688a1403d5e6b8099a5a171a66e2e0d
parentb9d62d152c81f39213c9ceef4dc1fd4bdbd3e6b9
i40e: Fix for 10G ports LED not blinking

On some hardware LEDs would not blink after command 'ethtool -p {eth-port}'
in certain circumstances. Now, function does not care about the activity
of the LED (though still preserves its state) but forcibly executes
identification blinking and then restores the LED state.

Signed-off-by: Piotr Marczak <piotr.marczak@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_common.c