OSDN Git Service

ice: rename ICE_MAX_VF_COUNT to avoid confusion
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 23 Feb 2022 00:26:53 +0000 (16:26 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 15 Mar 2022 00:22:59 +0000 (17:22 -0700)
commitdc36796eadcae0e239fc4f42cafd12f46290fbdd
tree6552ca5dc1caa30b46ce8b78f052148ad3a990b2
parent00a57e2959bd74e87a0e21dce746762d2f9c1987
ice: rename ICE_MAX_VF_COUNT to avoid confusion

The ICE_MAX_VF_COUNT field is defined in ice_sriov.h. This count is true
for SR-IOV but will not be true for all VF implementations, such as when
the ice driver supports Scalable IOV.

Rename this definition to clearly indicate ICE_MAX_SRIOV_VFS.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_sriov.c
drivers/net/ethernet/intel/ice/ice_sriov.h