]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commita3e09ded6a6d4b4cbdeb8c1ec4c7cf60798b3ce0
treea4e5573f8163fbb9803051f1bd14e5cdb6e70738
parente42b7e9cefca9dd008cbafffca97285cf264f72d
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