diff options
author | 2023-02-05 21:24:09 +0200 | |
---|---|---|
committer | 2023-02-07 12:20:21 +0100 | |
commit | bbb253b206b9c417928a6c827d038e457f3012e9 (patch) | |
tree | c43791ac36cc703f2ef7aa6470386d3aa24c9040 /drivers/net/phy | |
parent | net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q" (diff) | |
download | linux-bbb253b206b9c417928a6c827d038e457f3012e9.tar.gz linux-bbb253b206b9c417928a6c827d038e457f3012e9.tar.bz2 linux-bbb253b206b9c417928a6c827d038e457f3012e9.zip |
selftests: ocelot: tc_flower_chains: make test_vlan_ingress_modify() more comprehensive
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>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions