diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-07-08 14:36:25 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-09 16:31:00 -0700 |
commit | e2c9703d424e7a7a60f325cb16ddcd45b2213c70 (patch) | |
tree | f916cf9c67e90011a5c8315ba63d649d9b8e9e5d /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | 847aa551fa7897dbe457bfd8badd4ca22d44add1 (diff) |
selftests: drv-net: rss_ctx: test queue changes vs user RSS config
By default main RSS table should change to include all queues.
When user sets a specific RSS config the driver should preserve it,
even when queue count changes. Driver should refuse to deactivate
queues used in the user-set RSS config.
For additional contexts driver should still refuse to deactivate
queues in use. Whether the contexts should get resized like
context 0 when queue count increases is a bit unclear. I anticipate
most drivers today don't do that. Since main use case for additional
contexts is to set the indir table - it doesn't seem worthwhile to
care about behavior of the default table too much. Don't test that.
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20240708213627.226025-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions