Subject: Re: [PATCH net v5 2/3] selftests: Add MACsec VLAN propagation traffic test

From: Jakub Kicinski <[email-masked]>
Date: Mon, 23 Mar 2026 09:26:52 -0700

On Mon, 23 Mar 2026 14:36:32 +0200 Cosmin Ratiu wrote:
> Add macsec_traffic.py using NetDrvEpEnv to verify VLAN filter
> propagation through offloaded macsec devices via actual traffic.
> 
> Test creates macsec tunnels with matching SAs on both endpoints,
> stacks VLANs on top, and verifies connectivity with ping. Covers:
> - Offloaded macsec with VLAN (filters propagate to HW)
> - Software macsec with VLAN (no HW filter propagation)
> - Toggle offload on/off and verify traffic still works
> 
> On netdevsim this is a smoke test (stub offload, no real encryption).
> On real hardware this validates actual VLAN filter propagation.

CONFIG_VLAN_8021Q (and possibly other things) are missing from
 tools/testing/selftests/drivers/net/config
-- 
pw-bot: cr