linux-xiaomi-chiron/tools/testing/selftests/drivers/net/mlxsw
Ido Schimmel ffff9c9cb4 selftests: mlxsw: Reduce runtime of tc-police scale test
Currently, the test takes about 626 seconds to complete because of an
inefficient use of the device's TCAM. Reduce the runtime to 202 seconds
by inserting all the flower filters with the same preference and mask,
but with a different key.

In particular, this reduces the deletion of the qdisc (which triggers
the deletion of all the filters) from 66 seconds to 0.2 seconds. This
prevents various netlink requests from user space applications (e.g.,
systemd-networkd) from timing-out because RTNL is not held for too long
anymore.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-24 17:36:11 -07:00
..
spectrum selftests: mlxsw: Add scale test for tc-police 2020-07-15 18:10:00 -07:00
spectrum-2 selftests: mlxsw: Add scale test for tc-police 2020-07-15 18:10:00 -07:00
blackhole_routes.sh
devlink_trap.sh
devlink_trap_acl_drops.sh
devlink_trap_control.sh selftests: mlxsw: Add test for control packets 2020-06-01 11:49:23 -07:00
devlink_trap_l2_drops.sh
devlink_trap_l3_drops.sh
devlink_trap_l3_exceptions.sh
devlink_trap_policer.sh selftests: mlxsw: Increase burst size for burst test 2020-08-24 17:36:11 -07:00
devlink_trap_tunnel_ipip.sh
devlink_trap_tunnel_vxlan.sh
extack.sh
fib.sh
fib_offload.sh
mirror_gre.sh
mirror_gre_scale.sh
mlxsw_lib.sh
one_armed_router.sh
qos_defprio.sh
qos_dscp_bridge.sh
qos_dscp_router.sh
qos_ets_strict.sh
qos_lib.sh
qos_mc_aware.sh
router_scale.sh
rtnetlink.sh
sch_ets.sh
sch_red_core.sh selftests: mlxsw: RED: Test offload of trapping on RED qevents 2020-08-03 18:06:46 -07:00
sch_red_ets.sh selftests: mlxsw: RED: Test offload of trapping on RED qevents 2020-08-03 18:06:46 -07:00
sch_red_prio.sh
sch_red_root.sh selftests: mlxsw: RED: Test offload of mirror on RED early_drop qevent 2020-07-13 17:22:22 -07:00
sch_tbf_ets.sh
sch_tbf_prio.sh
sch_tbf_root.sh
sharedbuffer.sh mlxsw: spectrum: Reduce priority of locally delivered packets 2020-05-26 20:33:58 -07:00
sharedbuffer_configuration.py
tc_action_hw_stats.sh
tc_flower_scale.sh
tc_police_occ.sh selftests: mlxsw: Test policers' occupancy 2020-07-15 18:10:00 -07:00
tc_police_scale.sh selftests: mlxsw: Reduce runtime of tc-police scale test 2020-08-24 17:36:11 -07:00
tc_restrictions.sh selftests: mlxsw: tc_restrictions: Test tc-police restrictions 2020-07-15 18:10:00 -07:00
vxlan.sh
vxlan_fdb_veto.sh
vxlan_flooding.sh