selftests: mlxsw: RED: Test offload of trapping on RED qevents
authorPetr Machata <petrm@mellanox.com>
Mon, 3 Aug 2020 16:11:41 +0000 (19:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 01:06:46 +0000 (18:06 -0700)
commit8fb6ac457d5be8516eeed2b92342f7f95c448275
treee9cf6d6e724faf4042b24e4587d3fe637a174d42
parent54a9238589c533690c241fd3667a67d376d0a9cf
selftests: mlxsw: RED: Test offload of trapping on RED qevents

Add a selftest for RED early_drop and mark qevents when a trap action is
attached at the associated block.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/sch_red_core.sh
tools/testing/selftests/drivers/net/mlxsw/sch_red_ets.sh