diff options
author | Sridhar Samudrala <sridhar.samudrala@intel.com> | 2022-05-13 00:32:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-14 03:05:49 +0300 |
commit | d9713088158b23973266e07fdc85ff7d68791a8c (patch) | |
tree | 33070281ff8376d00e10fb17bdb242ec64f3b454 /net/ipv4/netfilter | |
parent | 470bcfd6039b390f1bc29d9ce12461781f5cd7af (diff) | |
download | linux-d9713088158b23973266e07fdc85ff7d68791a8c.tar.xz |
ice: Expose RSS indirection tables for queue groups via ethtool
When ADQ queue groups (TCs) are created via tc mqprio command,
RSS contexts and associated RSS indirection tables are configured
automatically per TC based on the queue ranges specified for
each traffic class.
For ex:
tc qdisc add dev enp175s0f0 root mqprio num_tc 3 map 0 1 2 \
queues 2@0 8@2 4@10 hw 1 mode channel
will create 3 queue groups (TC 0-2) with queue ranges 2, 8 and 4
in 3 queue groups. Each queue group is associated with its
own RSS context and RSS indirection table.
Add support to expose RSS indirection tables for all ADQ queue
groups using ethtool RSS contexts interface.
ethtool -x enp175s0f0 context <tc-num>
Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20220512213249.3747424-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/netfilter')
0 files changed, 0 insertions, 0 deletions