aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-02-08 12:50:57 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-03-19 17:00:54 -0700
commit7a1f7111754020e6c1c8d83d79850444d9001cf3 (patch)
tree0b6a3aa03e3dcee389626c3bef52f4caad7cf173 /drivers/net/ethernet/intel/ice/ice_lib.c
parentice: Implement flow to reset VFs with PFR and other resets (diff)
downloadlinux-dev-7a1f7111754020e6c1c8d83d79850444d9001cf3.tar.xz
linux-dev-7a1f7111754020e6c1c8d83d79850444d9001cf3.zip
ice: Get resources per function
ice_get_guar_num_vsi currently calculates the number of VSIs per PF. Rework this into a general function ice_get_num_per_func, that can calculate per PF allocations for not just VSIs but across multiple resource types. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Reviewed-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions