]> git.baikalelectronics.ru Git - 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)
commit2d8dc7ca54b676272b4d791cf558c564dd1b7459
tree26082aae613a8b6b81729f9b721dc3661f7785c8
parent7ed4b1cf714c9c0f7c5d9c33031ea3bad3b98a58
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]