[Intel-wired-lan] [net-next PATCH 06/25] ice: rename ICE_MAX_VF_COUNT to avoid confusion
Jankowski, Konrad0
konrad0.jankowski at intel.com
Wed Mar 2 20:03:24 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: Wednesday, February 23, 2022 1:27 AM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [net-next PATCH 06/25] 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 at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
> drivers/net/ethernet/intel/ice/ice_sriov.c | 8 ++++----
> drivers/net/ethernet/intel/ice/ice_sriov.h | 4 ++--
> 3 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_main.c
> b/drivers/net/ethernet/intel/ice/ice_main.c
> index 133860071174..a628fa9f1442 100644
> --- a/drivers/net/ethernet/intel/ice/ice_main.c
> +++ b/drivers/net/ethernet/intel/ice/ice_main.c
> @@ -3868,7 +3868,7 @@ static void ice_set_pf_caps(struct ice_pf *pf)
Tested-by: Konrad Jankowski <konrad0.jankowski at intel.com>
More information about the Intel-wired-lan
mailing list