On 2025-11-20 20:02, Jakub Kicinski wrote:
Now that we have YNL support for RSS accessing the RSS info from
C is very easy. Instead of passing the RSS key from Python do it
directly in the C code.
Signed-off-by: Jakub Kicinski <[email protected]>
---
.../testing/selftests/drivers/net/hw/Makefile | 6 ++-
.../selftests/drivers/net/hw/toeplitz.c | 41 ++++++++++++++++++-
.../selftests/drivers/net/hw/toeplitz.py | 5 ---
3 files changed, 44 insertions(+), 8 deletions(-)
[...]
diff --git a/tools/testing/selftests/drivers/net/hw/toeplitz.c
b/tools/testing/selftests/drivers/net/hw/toeplitz.c
index afc5f910b006..7420a4e201cc 100644
--- a/tools/testing/selftests/drivers/net/hw/toeplitz.c
+++ b/tools/testing/selftests/drivers/net/hw/toeplitz.c
[...]
@@ -551,7 +590,7 @@ static void parse_opts(int argc, char **argv)
}
if (!have_toeplitz)
- error(1, 0, "Must supply rss key ('-k')");
+ read_rss_dev_info_ynl();
Do you also want to remove the case 'k' and other no longer used code,
or is there still a valid use for them e.g. someone calling `toeplitz`
manually?