]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests: ocelot: tc_flower_chains: reorder interfaces
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 22 May 2022 09:50:40 +0000 (12:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 21:14:13 +0000 (22:14 +0100)
commit4ea1396a8bd5b7af4df15c52396c640a92b05b30
treebf6ae50904bb46c2406ce4df4c3d2ffe407f839f
parent93196ef911bac57f43034317c50e9ca42acf55c4
selftests: ocelot: tc_flower_chains: reorder interfaces

Use the standard interface order h1, swp1, swp2, h2 that is used by the
forwarding selftest framework. The previous order was confusing even
with the ASCII drawing. That isn't needed anymore.

This also drops the fixed MAC addresses and uses STABLE_MAC_ADDRS, which
ensures the MAC addresses are unique.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh