diff options
| author | Björn Töpel <bjorn@kernel.org> | 2026-03-20 11:58:24 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-24 03:59:54 +0300 |
| commit | 10329ce49285e8548da25bdb1cdba3badccfb00c (patch) | |
| tree | 3ac5b2efb70cdde6c5ed9a197c40498939ed10e9 /tools/memory-model/scripts/simpletest.sh | |
| parent | 57cdfe0dc70ba7cf234707e9e2c63613b9ce1e75 (diff) | |
| download | linux-10329ce49285e8548da25bdb1cdba3badccfb00c.tar.xz | |
selftests: rss_drv: Add RSS indirection table resize tests
Add resize tests to rss_drv.py. Devices without dynamic table sizing
are skipped via _require_dynamic_indir_size().
resize_periodic: set a periodic 4-entry table, shrink channels to
fold, grow back to unfold. Check the exact pattern is preserved. Has
main and non-default context variants.
resize_below_user_size_reject: send a periodic table with user_size
between the big and small device table sizes. Verify that shrinking
below user_size is rejected even though the table is periodic. Has
main and non-default context variants.
resize_nonperiodic_reject: set a non-periodic table (equal N), verify
that channel reduction is rejected.
resize_nonperiodic_no_corruption: verify a failed resize leaves both
the indirection table contents and the channel count unchanged.
Signed-off-by: Björn Töpel <bjorn@kernel.org>
Link: https://patch.msgid.link/20260320085826.1957255-5-bjorn@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/memory-model/scripts/simpletest.sh')
0 files changed, 0 insertions, 0 deletions
