ice: introduce ice_vf_init_host_cfg function
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 19 Jan 2023 01:16:49 +0000 (17:16 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 6 Feb 2023 17:41:56 +0000 (09:41 -0800)
commitb1b5694235efcc0b7d724961e8300c9a8cae993d
treef5584260004b7201b1d37dba3de8f4e4bd54a9aa
parentb5dcff1fd57ac0b67229bc008223b6a67176940a
ice: introduce ice_vf_init_host_cfg function

Introduce a new generic helper ice_vf_init_host_cfg which performs common
host configuration initialization tasks that will need to be done for both
Single Root IOV and the new Scalable IOV implementation.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_sriov.c
drivers/net/ethernet/intel/ice/ice_vf_lib.c
drivers/net/ethernet/intel/ice/ice_vf_lib_private.h