diff options
| author | Cosmin Ratiu <cratiu@nvidia.com> | 2026-04-08 14:52:37 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-09 19:38:41 -0700 |
| commit | e1ab601bb23006e2710359c0fba27342f8887aec (patch) | |
| tree | b1a515b56d9cbef2cf69c96762e6155f9e67160a /tools/testing/selftests/drivers/net/netdevsim/Makefile | |
| parent | eb216e422044f5523da038136ce0f2abcc6a75bc (diff) | |
| download | lwn-e1ab601bb23006e2710359c0fba27342f8887aec.tar.gz lwn-e1ab601bb23006e2710359c0fba27342f8887aec.zip | |
selftests: Migrate nsim-only MACsec tests to Python
Move MACsec offload API and ethtool feature tests from
tools/testing/selftests/drivers/net/netdevsim/macsec-offload.sh to
tools/testing/selftests/drivers/net/macsec.py using the NetDrvEnv
framework so tests can run against both netdevsim (default) and real
hardware (NETIF=ethX). As some real hardware requires MACsec to use
encryption, add that to the tests.
Netdevsim-specific limit checks (max SecY, max RX SC) were moved into
separate test cases to avoid failures on real hardware.
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20260408115240.1636047-2-cratiu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/drivers/net/netdevsim/Makefile')
| -rw-r--r-- | tools/testing/selftests/drivers/net/netdevsim/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/netdevsim/Makefile b/tools/testing/selftests/drivers/net/netdevsim/Makefile index 1a228c5430f5..9808c2fbae9e 100644 --- a/tools/testing/selftests/drivers/net/netdevsim/Makefile +++ b/tools/testing/selftests/drivers/net/netdevsim/Makefile @@ -11,7 +11,6 @@ TEST_PROGS := \ fib.sh \ fib_notifications.sh \ hw_stats_l3.sh \ - macsec-offload.sh \ nexthop.sh \ peer.sh \ psample.sh \ |
