Commit 9b64208f authored by Hangbin Liu's avatar Hangbin Liu Committed by David S. Miller

selftests: forwarding: vxlan_bridge_1d: use more proper tos value

0x11 and 0x12 set the ECN bits based on RFC2474, it would be better to avoid
that. 0x14 and 0x18 would be better and works as well.
Reported-by: default avatarPetr Machata <petrm@mellanox.com>
Fixes: 4e867c9a ("selftests: forwarding: vxlan_bridge_1d: fix tos value")
Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 82969e6e
...@@ -516,9 +516,9 @@ test_tos() ...@@ -516,9 +516,9 @@ test_tos()
RET=0 RET=0
tc filter add dev v1 egress pref 77 prot ip \ tc filter add dev v1 egress pref 77 prot ip \
flower ip_tos 0x11 action pass flower ip_tos 0x14 action pass
vxlan_ping_test $h1 192.0.2.3 "-Q 0x11" v1 egress 77 10 vxlan_ping_test $h1 192.0.2.3 "-Q 0x14" v1 egress 77 10
vxlan_ping_test $h1 192.0.2.3 "-Q 0x12" v1 egress 77 0 vxlan_ping_test $h1 192.0.2.3 "-Q 0x18" v1 egress 77 0
tc filter del dev v1 egress pref 77 prot ip tc filter del dev v1 egress pref 77 prot ip
log_test "VXLAN: envelope TOS inheritance" log_test "VXLAN: envelope TOS inheritance"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment