From: Cosmin Ratiu <cratiu@nvidia.com>
To: "sd@queasysnail.net" <sd@queasysnail.net>
Cc: "andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
"davem@davemloft.net" <davem@davemloft.net>,
"linux-kselftest@vger.kernel.org"
<linux-kselftest@vger.kernel.org>,
Dragos Tatulea <dtatulea@nvidia.com>,
"sdf@fomichev.me" <sdf@fomichev.me>,
"shuah@kernel.org" <shuah@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"horms@kernel.org" <horms@kernel.org>,
"edumazet@google.com" <edumazet@google.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH net v6 1/4] selftests: Migrate nsim-only MACsec tests to Python
Date: Thu, 2 Apr 2026 11:51:25 +0000 [thread overview]
Message-ID: <74bb0511be30cbc552b1addd0c65cf1f699b26ea.camel@nvidia.com> (raw)
In-Reply-To: <ac4-_ZPJSlXV4Vmd@krikkit>
On Thu, 2026-04-02 at 12:03 +0200, Sabrina Dubroca wrote:
> 2026-03-30, 16:01:27 +0300, Cosmin Ratiu wrote:
> > -#
> > -# test ethtool features when toggling offload
> > -#
> > -
> > -ip link add link $NSIM_NETDEV $MACSEC_NETDEV type macsec offload
> > mac
> > -TMP_FEATS_ON_1="$(ethtool -k $MACSEC_NETDEV)"
> > -
> > -ip link set $MACSEC_NETDEV type macsec offload off
> > -TMP_FEATS_OFF_1="$(ethtool -k $MACSEC_NETDEV)"
> > -
> > -ip link set $MACSEC_NETDEV type macsec offload mac
> > -TMP_FEATS_ON_2="$(ethtool -k $MACSEC_NETDEV)"
> > -
> > -[ "$TMP_FEATS_ON_1" = "$TMP_FEATS_ON_2" ]
> > -check $?
> [...]
> > -TMP_FEATS_OFF_2="$(ethtool -k $MACSEC_NETDEV)"
> > -[ "$TMP_FEATS_OFF_1" = "$TMP_FEATS_OFF_2" ]
> > -check $?
> [...]
> > -TMP_FEATS_ON_3="$(ethtool -k $MACSEC_NETDEV)"
> > -[ "$TMP_FEATS_ON_1" = "$TMP_FEATS_ON_3" ]
> > -check $?
>
> Those feature comparisons are missing in the new python test. The
> rest
> of the patch looks good.
>
Thanks,
I am not sure why those are missing. I vaguely remember having them at
some point, there were issues, I threw them out thinking there's not
much value in checking that all netdev features don't change (the tests
basically don't deal with only macsec).
I added them back in v7.
Cosmin.
next prev parent reply other threads:[~2026-04-02 11:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-30 13:01 [PATCH net v6 0/4] macsec: Add support for VLAN filtering in offload mode Cosmin Ratiu
2026-03-30 13:01 ` [PATCH net v6 1/4] selftests: Migrate nsim-only MACsec tests to Python Cosmin Ratiu
2026-04-02 10:03 ` Sabrina Dubroca
2026-04-02 11:51 ` Cosmin Ratiu [this message]
2026-03-30 13:01 ` [PATCH net v6 2/4] nsim: Add support for VLAN filters Cosmin Ratiu
2026-04-02 10:09 ` Sabrina Dubroca
2026-03-30 13:01 ` [PATCH net v6 3/4] selftests: Add MACsec VLAN propagation traffic test Cosmin Ratiu
2026-04-02 11:37 ` Sabrina Dubroca
2026-04-02 14:18 ` Cosmin Ratiu
2026-03-30 13:01 ` [PATCH net v6 4/4] macsec: Support VLAN-filtering lower devices Cosmin Ratiu
2026-04-02 14:48 ` Sabrina Dubroca
2026-04-07 15:07 ` Cosmin Ratiu
2026-04-08 8:25 ` Sabrina Dubroca
2026-04-08 10:24 ` Cosmin Ratiu
2026-04-08 11:01 ` Sabrina Dubroca
2026-04-02 2:54 ` [PATCH net v6 0/4] macsec: Add support for VLAN filtering in offload mode Jakub Kicinski
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=74bb0511be30cbc552b1addd0c65cf1f699b26ea.camel@nvidia.com \
--to=cratiu@nvidia.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--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=sd@queasysnail.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.