From: Sabrina Dubroca <sd@queasysnail.net>
To: Cosmin Ratiu <cratiu@nvidia.com>
Cc: netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Stanislav Fomichev <sdf@fomichev.me>, David Wei <dw@davidwei.uk>,
Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org,
Dragos Tatulea <dtatulea@nvidia.com>
Subject: Re: [PATCH net v8 1/4] selftests: Migrate nsim-only MACsec tests to Python
Date: Wed, 8 Apr 2026 20:00:58 +0200 [thread overview]
Message-ID: <adaX2szD10INOMxp@krikkit> (raw)
In-Reply-To: <20260408115240.1636047-2-cratiu@nvidia.com>
2026-04-08, 14:52:37 +0300, Cosmin Ratiu wrote:
> 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>
> ---
> tools/testing/selftests/drivers/net/Makefile | 1 +
> tools/testing/selftests/drivers/net/config | 1 +
> tools/testing/selftests/drivers/net/macsec.py | 202 ++++++++++++++++++
> .../selftests/drivers/net/netdevsim/Makefile | 1 -
> .../drivers/net/netdevsim/macsec-offload.sh | 117 ----------
> 5 files changed, 204 insertions(+), 118 deletions(-)
> create mode 100755 tools/testing/selftests/drivers/net/macsec.py
> delete mode 100755 tools/testing/selftests/drivers/net/netdevsim/macsec-offload.sh
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
--
Sabrina
next prev parent reply other threads:[~2026-04-08 18:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 11:52 [PATCH net v8 0/4] macsec: Add support for VLAN filtering in offload mode Cosmin Ratiu
2026-04-08 11:52 ` [PATCH net v8 1/4] selftests: Migrate nsim-only MACsec tests to Python Cosmin Ratiu
2026-04-08 18:00 ` Sabrina Dubroca [this message]
2026-04-08 11:52 ` [PATCH net v8 2/4] nsim: Add support for VLAN filters Cosmin Ratiu
2026-04-08 18:13 ` Sabrina Dubroca
2026-04-08 11:52 ` [PATCH net v8 3/4] selftests: Add MACsec VLAN propagation traffic test Cosmin Ratiu
2026-04-08 18:26 ` Sabrina Dubroca
2026-04-08 11:52 ` [PATCH net v8 4/4] macsec: Support VLAN-filtering lower devices Cosmin Ratiu
2026-04-08 22:16 ` Sabrina Dubroca
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=adaX2szD10INOMxp@krikkit \
--to=sd@queasysnail.net \
--cc=andrew+netdev@lunn.ch \
--cc=cratiu@nvidia.com \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--cc=dw@davidwei.uk \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox