diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-11-21 07:02:57 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-25 05:51:40 +0300 |
| commit | aa91dbf3eda2977e3046d4838eadf7af4dbd47ec (patch) | |
| tree | 73ac1ad727270c30b3494c946fb63143d5434543 /tools/testing/selftests/drivers/net/hw/toeplitz.py | |
| parent | 27c512af190e037a6f330e9461fc4741fb77da45 (diff) | |
| download | linux-aa91dbf3eda2977e3046d4838eadf7af4dbd47ec.tar.xz | |
selftests: hw-net: toeplitz: read the RSS key directly from C
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.
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20251121040259.3647749-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/toeplitz.py')
| -rwxr-xr-x | tools/testing/selftests/drivers/net/hw/toeplitz.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/testing/selftests/drivers/net/hw/toeplitz.py b/tools/testing/selftests/drivers/net/hw/toeplitz.py index 642a5cc385b6..945c58d23310 100755 --- a/tools/testing/selftests/drivers/net/hw/toeplitz.py +++ b/tools/testing/selftests/drivers/net/hw/toeplitz.py @@ -156,10 +156,6 @@ def test(cfg, proto_flag, ipver, grp): "hfunc": rss.get('hfunc'), "input-xfrm": rss.get('input-xfrm', {}) }) - # Refresh in case changing hfunc changes things. - rss = cfg.ethnl.rss_get({"header": {"dev-index": cfg.ifindex}}) - - key = ':'.join(f'{b:02x}' for b in rss["hkey"]) port = rand_port(socket.SOCK_DGRAM) @@ -170,7 +166,6 @@ def test(cfg, proto_flag, ipver, grp): proto_flag, "-d", str(port), "-i", cfg.ifname, - "-k", key, "-T", "1000", "-s", "-v" |
