]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: Change ice_vsi_setup_q_map() to not depend on RSS
authorBrett Creeley <brett.creeley@intel.com>
Tue, 2 Mar 2021 18:15:33 +0000 (10:15 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 31 Mar 2021 21:21:28 +0000 (14:21 -0700)
commit8134d5ff9788d3e7f63f963a211927a60ce462d6
treeff88dcbc8df9e9b9b9d71abeaacc2c5808c4ee38
parent94a936981a3eae3f1e9d1bf02c32d3f559a7aa95
ice: Change ice_vsi_setup_q_map() to not depend on RSS

Currently, ice_vsi_setup_q_map() depends on the VSI's rss_size. However,
the Rx Queue Mapping section of the VSI context has no dependency on RSS.
Instead, limit the maximum number of Rx queues per TC based on the Rx
Queue mapping section of the VSI context, which currently allows for up
to 256 Rx queues per TC.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_lib.c