]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Extract detection of HW flags into a function
authorPiotr Azarewicz <piotr.azarewicz@intel.com>
Fri, 20 Sep 2019 09:17:18 +0000 (02:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 25 Oct 2019 20:38:19 +0000 (13:38 -0700)
commit0f4d14a54461c5893f439639e56be49359229b6b
treea4e5573f8163fbb9803051f1bd14e5cdb6e70738
parent6c50ab4eaead3af1e984b5ca14105189754665e6
i40e: Extract detection of HW flags into a function

Move code detecting HW flags based on device type and FW API version
into a single function.

Signed-off-by: Piotr Azarewicz <piotr.azarewicz@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