diff options
author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2019-02-08 12:51:01 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-22 08:19:16 -0700 |
commit | 7eeac889769ae96dbeb2209b816e14b12e0f9f6f (patch) | |
tree | 91bb463fff778ce42008ab72fde9ace397900c2d /drivers/net/ethernet/intel/ice/ice_switch.c | |
parent | cb93a9529de8428f4b0bc76f6e6dced382712bcd (diff) | |
download | linux-7eeac889769ae96dbeb2209b816e14b12e0f9f6f.tar.bz2 |
ice: Fix issue reclaiming resources back to the pool after reset
This patch fixes issue reclaiming VF resources back to the pool after
reset - Since we only allocate HW vector for all VFs and track together
with resources allocation for PF with ice_search_res, we need to free VFs
resources separately, using first VF vector index to traverse the list.
Otherwise tracker starts from the last assigned vectors list and causes
maximum supported number of HW vectors, 1024 to be exhausted, depending on
the number of VFs enabled, which causes a lot of unwanted issues, and
failed to reassign vectors for VFs.
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@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_switch.c')
0 files changed, 0 insertions, 0 deletions