OSDN Git Service

selftests: mlxsw: Add a self-test for port-default priority
authorPetr Machata <petrm@mellanox.com>
Sun, 29 Dec 2019 11:48:29 +0000 (13:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2020 23:40:14 +0000 (15:40 -0800)
commitc5341bcc337ca762faa58790c2065c76cd05f2e6
treec337153cb6d0cf836bd5d74e57f21373d7974b14
parent379a00dd21618f4354d41b1ac148188e005dbc05
selftests: mlxsw: Add a self-test for port-default priority

Send non-IP traffic to a port and observe that it gets prioritized
according to the lldptool app=$prio,1,0 rules.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@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/qos_defprio.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/lib.sh