summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-01-31 14:54:53 -0800
committerJakub Kicinski <kuba@kernel.org>2026-02-02 17:06:00 -0800
commit9e3d4dae98325928f842192359521ca0a2e5408e (patch)
tree3e0d965a257cacf5279c1c7fd8c2273c36b33528 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentfd102acfd362de60a941d24f0836278d839b9391 (diff)
selftests: drv-net: rss: validate min RSS table size
Add a test which checks that the RSS table is at least 4x the max queue count supported by the device. The original RSS spec from Microsoft stated that the RSS indirection table should be 2 to 8 times the CPU count, presumably assuming queue per CPU. If the CPU count is not a power of two, however, a power-of-2 table 2x larger than queue count results in a 33% traffic imbalance. Validate that the indirection table is at least 4x the queue count. This lowers the imbalance to 16% which empirically appears to be more acceptable to memcache-like workloads. Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20260131225454.1225151-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions