linux/drivers/net/ethernet/intel/ice
Brett Creeley f0457690af ice: Fix allowing VF to request more/less queues via virtchnl
Commit 12bb018c53 ("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: 12bb018c53 ("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>
2021-06-04 07:37:48 -07:00
..
ice.h ice: track AF_XDP ZC enabled queues in bitmap 2021-06-03 08:38:37 -07:00
ice_adminq_cmd.h ice: Use default configuration mode for PHY configuration 2021-04-07 17:09:15 -07:00
ice_arfs.c ice: Delay netdev registration 2021-03-31 14:21:27 -07:00
ice_arfs.h
ice_base.c ice: refactor ITR data structures 2021-04-14 17:00:06 -07:00
ice_base.h
ice_common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-09 20:48:35 -07:00
ice_common.h ice: Use default configuration mode for PHY configuration 2021-04-07 17:09:15 -07:00
ice_controlq.c ice: remove unused struct member 2021-04-14 17:00:06 -07:00
ice_controlq.h ice: remove unused struct member 2021-04-14 17:00:06 -07:00
ice_dcb.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-17 11:08:07 -07:00
ice_dcb.h
ice_dcb_lib.c ice: use kernel definitions for IANA protocol ports and ether-types 2021-04-14 17:00:05 -07:00
ice_dcb_lib.h
ice_dcb_nl.c ice: remove DCBNL_DEVRESET bit from PF state 2021-03-29 10:37:19 -07:00
ice_dcb_nl.h
ice_devids.h
ice_devlink.c
ice_devlink.h
ice_ethtool.c ice: Reimplement module reads used by ethtool 2021-04-14 17:00:06 -07:00
ice_ethtool_fdir.c ice: Drop leading underscores in enum ice_pf_state 2021-04-14 17:00:05 -07:00
ice_fdir.c ice: Fix prototype warnings 2021-03-23 11:34:02 -07:00
ice_fdir.h ice: Add more FDIR filter type for AVF 2021-03-22 11:32:12 -07:00
ice_flex_pipe.c ice: suppress false cppcheck issues 2021-04-14 17:12:17 -07:00
ice_flex_pipe.h ice: Support to separate GTP-U uplink and downlink 2021-03-22 11:32:12 -07:00
ice_flex_type.h ice: cleanup style issues 2021-03-31 14:21:28 -07:00
ice_flow.c ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_flow.h ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_fltr.c
ice_fltr.h
ice_fw_update.c
ice_fw_update.h
ice_hw_autogen.h ice: manage interrupts during poll exit 2021-04-14 17:00:05 -07:00
ice_lag.c
ice_lag.h
ice_lan_tx_rx.h ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_lib.c ice: Fix allowing VF to request more/less queues via virtchnl 2021-06-04 07:37:48 -07:00
ice_lib.h ice: remove return variable 2021-04-14 17:12:17 -07:00
ice_main.c ice: warn about potentially malicious VFs 2021-04-22 09:26:22 -07:00
ice_nvm.c ice: suppress false cppcheck issues 2021-04-14 17:12:17 -07:00
ice_nvm.h
ice_osdep.h
ice_protocol_type.h ice: Add more advanced protocol support in flow filter 2021-03-22 11:32:12 -07:00
ice_sched.c ice: suppress false cppcheck issues 2021-04-14 17:12:17 -07:00
ice_sched.h
ice_sriov.c ice: warn about potentially malicious VFs 2021-04-22 09:26:22 -07:00
ice_sriov.h ice: warn about potentially malicious VFs 2021-04-22 09:26:22 -07:00
ice_status.h
ice_switch.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-09 20:48:35 -07:00
ice_switch.h
ice_txrx.c ice: add correct exception tracing for XDP 2021-06-03 08:38:37 -07:00
ice_txrx.h ice: refactor ITR data structures 2021-04-14 17:00:06 -07:00
ice_txrx_lib.c ice: Fix fall-through warnings for Clang 2021-03-23 11:34:02 -07:00
ice_txrx_lib.h
ice_type.h ice: warn about potentially malicious VFs 2021-04-22 09:26:22 -07:00
ice_virtchnl_allowlist.c ice: Enable RSS configure for AVF 2021-04-22 09:26:22 -07:00
ice_virtchnl_allowlist.h ice: Allow ignoring opcodes on specific VF 2021-04-22 09:26:22 -07:00
ice_virtchnl_fdir.c ice: Drop leading underscores in enum ice_pf_state 2021-04-14 17:00:05 -07:00
ice_virtchnl_fdir.h ice: Check FDIR program status for AVF 2021-03-22 11:32:12 -07:00
ice_virtchnl_pf.c ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_virtchnl_pf.h ice: Allow ignoring opcodes on specific VF 2021-04-22 09:26:22 -07:00
ice_xsk.c ice: track AF_XDP ZC enabled queues in bitmap 2021-06-03 08:38:37 -07:00
ice_xsk.h
Makefile ice: Allow ignoring opcodes on specific VF 2021-04-22 09:26:22 -07:00