selftests: mlxsw: qos_dscp_router: Test no DSCP rewrite after pedit
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Mar 2020 14:01:14 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2020 18:55:40 +0000 (11:55 -0700)
commit9a9dffcb4ff9b2476dfeda36c4ddd35d7515f6e3
treef64bbf4e2eb022095408f16022014f1633abb171
parent226657ba2389d9ac147e5ae21dfab0020d7a045e
selftests: mlxsw: qos_dscp_router: Test no DSCP rewrite after pedit

When DSCP is updated through an offloaded pedit action, DSCP rewrite on
egress should be disabled. Add a test that check that it is so.

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_router.sh