selftests: mlxsw: Add test for trust-DSCP
authorPetr Machata <petrm@mellanox.com>
Fri, 27 Jul 2018 12:27:02 +0000 (15:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jul 2018 20:17:50 +0000 (13:17 -0700)
commitd159261f3662a89a5cd4fae041107ee511d9552e
tree6a7d97de980761f8561a0644ce1acc7097ee168a
parentb2b1dab6884e39c9cea2650b0c399e1990cd855a
selftests: mlxsw: Add test for trust-DSCP

Add a test that exercises the new code. Send DSCP-tagged packets, and
observe how they are prioritized in the switch and the DSCP is updated
on egress again.

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/qos_dscp_bridge.sh [new file with mode: 0755]