]> git.baikalelectronics.ru Git - kernel.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)
commit9a40624170c35d025799773ae614a69bbd36b94d
treeff88dcbc8df9e9b9b9d71abeaacc2c5808c4ee38
parent42d963bf771c99acfb88ed727bb6ae6a3b8013db
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