]> git.baikalelectronics.ru Git - kernel.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)
commitd9d1b49ad3e558e7a1eeee59f053634bd2f61aa5
treebf6ae50904bb46c2406ce4df4c3d2ffe407f839f
parent77ad4231d33c7b0476e33bee29ed8d0d665c54c1
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