mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] selftests: drv-net: Add VLAN test
@ 2026-09-18 11:25 Ovidiu Panait
  2026-09-18 11:25 ` [PATCH net-next v2 1/3] selftests: drv-net: Move _set_ethtool_feat() into lib Ovidiu Panait
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ovidiu Panait @ 2026-09-18 11:25 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, shuah, nb
  Cc: linux-kernel, netdev, linux-kselftest, Ovidiu Panait

This series adds a selftest that pings over 802.1q, 802.1ad and
QinQ VLAN interfaces with RX VLAN stripping offloads enabled
and disabled.

This series contains only the selftest part of [1].

[1] https://lore.kernel.org/all/20260908164309.59282-1-ovidiu.panait.rb@renesas.com/

v2 changes:
- Added a new commit to check if the ethtool changes were actually applied.
- Allowed for the VLAN IPs to be set from the environment, to avoid
  possible clashes.
- Added Nicolai's Rb tag.

Ovidiu Panait (3):
  selftests: drv-net: Move _set_ethtool_feat() into lib
  selftests: drv-net: Check the features set by set_ethtool_feat()
  selftests: drv-net: Add VLAN test

 .../testing/selftests/drivers/net/gro_lib.py  |  66 +++------
 .../testing/selftests/drivers/net/hw/Makefile |   1 +
 tools/testing/selftests/drivers/net/hw/config |   1 +
 .../drivers/net/hw/lib/py/__init__.py         |   3 +-
 .../testing/selftests/drivers/net/hw/vlan.py  | 127 ++++++++++++++++++
 .../selftests/drivers/net/lib/py/__init__.py  |   3 +-
 .../selftests/drivers/net/lib/py/feat.py      |  43 ++++++
 7 files changed, 197 insertions(+), 47 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/hw/vlan.py
 create mode 100644 tools/testing/selftests/drivers/net/lib/py/feat.py

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-09-18 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 11:25 [PATCH net-next v2 0/3] selftests: drv-net: Add VLAN test Ovidiu Panait
2026-09-18 11:25 ` [PATCH net-next v2 1/3] selftests: drv-net: Move _set_ethtool_feat() into lib Ovidiu Panait
2026-09-18 11:25 ` [PATCH net-next v2 2/3] selftests: drv-net: Check the features set by set_ethtool_feat() Ovidiu Panait
2026-09-18 11:51   ` Nicolai Buchwitz
2026-09-18 11:25 ` [PATCH net-next v2 3/3] selftests: drv-net: Add VLAN test Ovidiu Panait
2026-09-18 12:04   ` Nicolai Buchwitz
2026-09-18 22:12     ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®