[PATCH net v2 00/17] selftests: forwarding: Various fixes

Ido Schimmel
2023-08-08T15:46:50Z

Fix various problems with forwarding selftests. See individual patches
for problem description and solution.

v2:
* Patch #10: Probe for MAC Merge support.

Ido Schimmel (17):
selftests: forwarding: Skip test when no interfaces are specified
selftests: forwarding: Switch off timeout
selftests: forwarding: bridge_mdb: Check iproute2 version
selftests: forwarding: bridge_mdb_max: Check iproute2 version
selftests: forwarding: Set default IPv6 traceroute utility
selftests: forwarding: Add a helper to skip test when using veth pairs
selftests: forwarding: ethtool: Skip when using veth pairs
selftests: forwarding: ethtool_extended_state: Skip when using veth
pairs
selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
selftests: forwarding: ethtool_mm: Skip when MAC Merge is not
supported
selftests: forwarding: tc_actions: Use ncat instead of nc
selftests: forwarding: tc_flower: Relax success criterion
selftests: forwarding: tc_tunnel_key: Make filters more specific
selftests: forwarding: tc_flower_l2_miss: Fix failing test with old
libnet
selftests: forwarding: bridge_mdb: Fix failing test with old libnet
selftests: forwarding: bridge_mdb_max: Fix failing test with old
libnet
selftests: forwarding: bridge_mdb: Make test more robust

.../selftests/net/forwarding/bridge_mdb.sh | 59 +++++++++++--------
.../net/forwarding/bridge_mdb_max.sh | 19 ++++--
.../selftests/net/forwarding/ethtool.sh | 2 +
.../net/forwarding/ethtool_extended_state.sh | 2 +
.../selftests/net/forwarding/ethtool_mm.sh | 18 ++++--
.../net/forwarding/hw_stats_l3_gre.sh | 2 +
.../net/forwarding/ip6_forward_instats_vrf.sh | 2 +
tools/testing/selftests/net/forwarding/lib.sh | 17 ++++++
.../testing/selftests/net/forwarding/settings | 1 +
.../selftests/net/forwarding/tc_actions.sh | 6 +-
.../selftests/net/forwarding/tc_flower.sh | 8 +--
.../net/forwarding/tc_flower_l2_miss.sh | 13 ++--
.../selftests/net/forwarding/tc_tunnel_key.sh | 9 ++-
13 files changed, 109 insertions(+), 49 deletions(-)
create mode 100644 tools/testing/selftests/net/forwarding/settings

--
2.40.1