]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit26221331733137eafd205bf5046846a10539b89c
treea1be8e50b688a1403d5e6b8099a5a171a66e2e0d
parentbf4bf09bdd91a75bb175c172b3f7251a4845f591
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