OSDN Git Service

i40e: Fix for blinking activity instead of link LEDs
authorMichal Kuchta <michal.kuchta@intel.com>
Mon, 18 Dec 2017 10:17:03 +0000 (05:17 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Jan 2018 19:29:19 +0000 (11:29 -0800)
commitd95cd48060e69d7135e65e667777ab7ddb1c9846
treee4b2755b5d9918e532e10f12d28d784591d69b12
parent06aa040f039404a0039a5158cd12f41187487a1f
i40e: Fix for blinking activity instead of link LEDs

This fix solves an issue occurring while calling i40e_led_set function
from the driver with "blink" parameter set as TRUE. This call resulted
in Activity LED blinking instead of Link LED, which may lead to errors
in physically identifying the port, since Activity LED may be blinking
for different reasons as well.

Signed-off-by: Michal Kuchta <michal.kuchta@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