linux/tools/testing/selftests/drivers/net
Vladimir Oltean bcc8444363 selftests: ocelot: tc_flower_chains: make test_vlan_ingress_modify() more comprehensive
[ Upstream commit bbb253b206 ]

We have two IS1 filters of the OCELOT_VCAP_KEY_ANY key type (the one with
"action vlan pop" and the one with "action vlan modify") and one of the
OCELOT_VCAP_KEY_IPV4 key type (the one with "action skbedit priority").
But we have no IS1 filter with the OCELOT_VCAP_KEY_ETYPE key type, and
there was an uncaught breakage there.

To increase test coverage, convert one of the OCELOT_VCAP_KEY_ANY
filters to OCELOT_VCAP_KEY_ETYPE, by making the filter also match on the
MAC SA of the traffic sent by mausezahn, $h1_mac.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20230205192409.1796428-2-vladimir.oltean@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-03 11:52:22 +01:00
..
bonding selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
dsa selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
mlxsw selftests: mlxsw: Remove qos_burst test 2022-09-19 18:08:00 -07:00
netdevsim selftests: devlink: fix the fd redirect in dummy_reporter_test 2022-12-31 13:32:55 +01:00
ocelot selftests: ocelot: tc_flower_chains: make test_vlan_ingress_modify() more comprehensive 2023-03-03 11:52:22 +01:00
team selftests: net: Fix netdev name mismatch in cleanup 2022-10-20 21:09:22 -07:00