diff options
author | Brett Creeley <brett.creeley@intel.com> | 2021-02-27 00:19:20 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-06-04 17:37:48 +0300 |
commit | f0457690af56673cb0c47af6e25430389a149225 (patch) | |
tree | ab84b95c2f050659bb61f41d0757798028ffc5bb /lib/test_min_heap.c | |
parent | 1a8024239dacf53fcf39c0f07fbf2712af22864f (diff) | |
download | linux-f0457690af56673cb0c47af6e25430389a149225.tar.xz |
ice: Fix allowing VF to request more/less queues via virtchnl
Commit 12bb018c538c ("ice: Refactor VF reset") caused a regression
that removes the ability for a VF to request a different amount of
queues via VIRTCHNL_OP_REQUEST_QUEUES. This prevents VF drivers to
either increase or decrease the number of queue pairs they are
allocated. Fix this by using the variable vf->num_req_qs when
determining the vf->num_vf_qs during VF VSI creation.
Fixes: 12bb018c538c ("ice: Refactor VF reset")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/test_min_heap.c')
0 files changed, 0 insertions, 0 deletions