mirror-linux/tools/testing/selftests/drivers/net
Petr Machata 8fcac79270 selftests: forwarding: generalize bail_on_lldpad from mlxsw
mlxsw selftests often invoke a bail_on_lldpad() helper to make sure LLDPAD
is not running, to prevent conflicts between the QoS configuration applied
through TC or DCB command line tool, and the DCB configuration that LLDPAD
might apply. This helper might be useful to others. Move the function to
lib.sh, and parameterize to make reusable in other contexts.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-04-20 20:03:21 -07:00
..
bonding selftests: bonding: add arp validate test 2023-04-07 08:47:20 +01:00
dsa selftests: net: Fix cross-tree inclusion of scripts 2022-10-20 21:09:22 -07:00
mlxsw selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
netdevsim sefltests: netdevsim: wait for devlink instance after netns removal 2023-02-21 13:02:42 +01:00
ocelot selftests: ocelot: tc_flower_chains: make test_vlan_ingress_modify() more comprehensive 2023-02-07 12:20:21 +01:00
team selftests: net: Fix netdev name mismatch in cleanup 2022-10-20 21:09:22 -07:00