[PATCH net-next 0/2] selftests: drv-net: Add VLAN test
From: Ovidiu Panait <hidden>
Date: 2026-09-13 14:40:09
Also in:
linux-kselftest, lkml
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].
Changes since v4 of [1]:
- dropped the cfg.require_ipver("4") call
- used a relative import for the lib
- the "hw" variants no longer require rx-vlan-stag-hw-parse to
be changeable. They now enable the features the device supports,
so QinQ traffic is also tested with only C-Tag stripping enabled
(reported by Sashiko)
[1] https://lore.kernel.org/all/20260908164309.59282-1-ovidiu.panait.rb@renesas.com/ (local)
Ovidiu Panait (2):
selftests: drv-net: Move _set_ethtool_feat() into lib
selftests: drv-net: Add VLAN test
.../testing/selftests/drivers/net/gro_lib.py | 65 +++------
.../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 | 35 +++++
7 files changed, 188 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