i40e: use admin queue for setting LEDs behavior
authorMariusz Stachura <mariusz.stachura@intel.com>
Tue, 22 Aug 2017 10:57:45 +0000 (06:57 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 Oct 2017 19:46:35 +0000 (12:46 -0700)
commit00f6c2f5e20bbdb638e58c50c6e6b1d8b796d6f6
tree35bdc42144fb39d3940795fbae16f557470d205b
parent9c0e5caf6398d6b892dc5046c421890e32ab5fa3
i40e: use admin queue for setting LEDs behavior

Instead of accessing register directly, use newly added AQC in
order to blink LEDs. Introduce and utilize a new flag to prevent
excessive API version checking.

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_adminq.c
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40evf/i40e_type.h