summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-02-01 01:54:53 +0300
committerJakub Kicinski <kuba@kernel.org>2026-02-03 04:06:00 +0300
commit9e3d4dae98325928f842192359521ca0a2e5408e (patch)
tree3e0d965a257cacf5279c1c7fd8c2273c36b33528 /include/linux/debugobjects.h
parentfd102acfd362de60a941d24f0836278d839b9391 (diff)
downloadlinux-9e3d4dae98325928f842192359521ca0a2e5408e.tar.xz
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions