make -C tools/testing/selftests TARGETS="net" TEST_PROGS=l2_tos_ttl_inheriit.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: l2_tos_ttl_inherit.sh # ┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐ # ├────────┼──────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼─────────────────────┼────────┤ # │ gre │ 4 │ 4 │ inherit 0x58 │ inherit 86 false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xec │ inherit 225 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xd4 │ fixed 50 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x80 │ fixed 36 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x4c │ inherit 218 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x34 │ inherit 78 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xb4 │ fixed 72 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x58 │ fixed 173 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xb4 │ inherit 184 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x7c │ inherit 251 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xac │ fixed 69 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0xe4 │ fixed 155 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────────────┤ # │ gre │ 6 │ 4 │ inherit 0x9c │ inherit 50 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x30 │ inherit 120 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x20 │ fixed 27 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xe0 │ fixed 21 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x14 │ inherit 206 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x44 │ inherit 136 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0xb0 │ fixed 52 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xf4 │ fixed 99 │ true │ OK │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0xc4 │ inherit 124 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x90 │ inherit 32 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x54 │ fixed 105 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xb0 │ fixed 159 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x64 │ inherit 194 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x88 │ inherit 238 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x38 │ fixed 73 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xf4 │ fixed 137 │ true │ OK │ # ───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xbc │ inherit 207 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x84 │ inherit 245 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x24 │ fixed 29 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xac │ fixed 161 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x4c │ inherit 192 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0xd4 │ inherit 31 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x44 │ fixed 112 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x84 │ fixed 187 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0xe8 │ inherit 226 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x1c │ inherit 50 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x3c │ fixed 224 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x2c │ fixed 231 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0xdc │ inherit 150 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0xb8 │ inherit 66 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xc8 │ fixed 21 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xbc │ fixed 65 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x84 │ inherit 39 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x84 │ inherit 237 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x8c │ fixed 83 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x78 │ fixed 160 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x08 │ inherit 117 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xb4 │ inherit 71 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x1c │ fixed 210 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xe4 │ fixed 235 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x44 │ inherit 98 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x04 │ inherit 153 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xb4 │ fixed 50 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xfc │ fixed 212 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0xe8 │ inherit 28 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xac │ inherit 54 │ true │ OK │ # │ geneve │ 4 other │ fixed 0x3c │ fixed 42 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x90 │ fixed 240 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼─────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x08 │ inherit 7 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x8c │ inherit 85 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x88 │ fixed 11 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xb4 │ fixed 16 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x7c │ inherit 17 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x7c │ inherit 163 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x64 │ fixed 110 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xb4 │ fixed 108 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x70 │ inherit 4 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x68 │ inherit 90 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0xd8 │ fixed 165 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x3c │ fixed 118 │ true │ OK │ # └────────┴───────┴───────┴──────────────┴────────────┴───────┴────────┘ ok 1 selftests: net: l2_tos_ttl_inherit.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->