2026-04-08, 14:52:39 +0300, Cosmin Ratiu wrote:
> Add VLAN filter propagation tests through offloaded MACsec devices via
> actual traffic.
> 
> The tests create MACsec tunnels with matching SAs on both endpoints,
> stack VLANs on top, and verify connectivity with ping. Covered:
> - Offloaded MACsec with VLAN (filters propagate to HW)
> - Software MACsec with VLAN (no HW filter propagation)
> - Offload on/off toggle and verifying traffic still works
> 
> On netdevsim this makes use of the VLAN filter debugfs file to actually
> validate that filters are applied/removed correctly.
> On real hardware the traffic should validate actual VLAN filter
> propagation.
> 
> Signed-off-by: Cosmin Ratiu <[email protected]>
> ---
>  tools/testing/selftests/drivers/net/config    |   1 +
>  .../selftests/drivers/net/lib/py/env.py       |   9 ++
>  tools/testing/selftests/drivers/net/macsec.py | 141 ++++++++++++++++++
>  3 files changed, 151 insertions(+)

Reviewed-by: Sabrina Dubroca <[email protected]>

-- 
Sabrina

Reply via email to