]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b50fd392028609902dcbbb40210b363f51729f5
tree6a7d97de980761f8561a0644ce1acc7097ee168a
parente6f33ac2b928100c3b5d0c1e13c2061535038564
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]