From 3de611b507628abac081630d8180a9a369c83668 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Thu, 27 Feb 2020 08:50:07 +0100 Subject: selftests: mlxsw: Add a RED selftest This tests that below the queue minimum length, there is no dropping / marking, and above max, everything is dropped / marked. The test is structured as a core file with topology and test code, and three wrappers: one for RED used as a root Qdisc, and two for testing (W)RED under PRIO and ETS. Signed-off-by: Petr Machata Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh (limited to 'tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh') diff --git a/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh b/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh new file mode 100755 index 000000000000..76820a0e9a1b --- /dev/null +++ b/tools/testing/selftests/drivers/net/mlxsw/sch_red_prio.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +QDISC=prio +source sch_red_ets.sh -- cgit