]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: mscc: ocelot: add test for VLAN modify action
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 8 Oct 2020 11:57:00 +0000 (14:57 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sun, 11 Oct 2020 18:19:04 +0000 (11:19 -0700)
commit4c66d23dba297f12d38a78a612421b129dc6c647
treeb2d011c4170a799030e5a705dd5a6c989f6a34e2
parent33c0563de055657e7ca2361d246ed2235f8d7f18
selftests: net: mscc: ocelot: add test for VLAN modify action

Create a test that changes a VLAN ID from 200 to 300.

We also need to modify the preferences of the filters installed for the
other rules so that they are unique, because we now install the "tc-vlan
modify" filter in VCAP IS1 only temporarily, and we need to perform the
deletion by filter preference number.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh