]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: mlxsw: Add test for ip_forward_update_priority
authorPetr Machata <petrm@mellanox.com>
Tue, 31 Jul 2018 22:39:29 +0000 (00:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 16:52:30 +0000 (09:52 -0700)
commit9bae0451b7dcca54db376d2ea2cb8d9fc763a683
tree26082aae613a8b6b81729f9b721dc3661f7785c8
parentcf60869814bcdfbeec02e92ce9e6b38562707edd
selftests: mlxsw: Add test for ip_forward_update_priority

Verify that with that sysctl turned off, DSCP prioritization and rewrite
works the same way as in qos_dscp_bridge test. However when the sysctl
is charged, there should be a reprioritization after routing stage,
which will be observed by a different DSCP rewrite on egress.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-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 [new file with mode: 0755]