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 0xa8 │ inherit 71 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x6c │ inherit 3 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xf0 │ fixed 23 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x60 │ fixed 29 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x2c │ inherit 109 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x94 │ inherit 121 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xa0 │ fixed 130 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x48 │ fixed 117 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xc0 │ inherit 85 │ false │ OK │ # │ gre │ 4 other │ inherit 0x68 │ inherit 4 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x40 │ fixed 145 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x14 │ fixed 221 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x50 │ inherit 198 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x1c │ inherit 32 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xe4 │ fixed 5 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xcc │ fixed 199 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x48 │ inherit 61 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x6c │ inherit 250 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x80 │ fixed 145 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x0c │ fixed 57 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0xc4 │ inherit 128 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x74 │ inherit 49 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0xc4 │ fixed 114 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xe4 │ fixed 192 true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x5c │ inherit 252 │ false │ OK │ # vxlan │ 4 │ 4 │ inherit 0xb0 │ inherit 19 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xec │ fixed 67 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xdc │ fixed 243 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x1c │ inherit 254 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x08 │ inherit 240 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x78 │ fixed 186 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x18 │ fixed 179 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xe4 │ inherit 174 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x98 │ inherit 34 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0xe8 │ fixed 2 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x78 │ fixed 44 │ true │ OK │ # ├────────┼─────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x34 │ inherit 133 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x28 │ inherit 46 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xf0 │ fixed 157 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xdc │ fixed 251 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x08 │ inherit 231 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0xfc │ inherit 77 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x68 │ fixed 137 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x44 │ fixed 5 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x74 │ inherit 92 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x08 │ inherit 217 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x98 │ fixed 28 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x54 │ fixed 245 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x68 │ inherit 220 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xd0 │ inherit 106 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x70 │ fixed 74 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x64 │ fixed 243 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x10 │ inherit 122 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x10 │ inherit 157 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x74 │ fixed 144 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x90 │ fixed 130 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x04 │ inherit 43 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xec │ inherit 190 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x4c │ fixed 120 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0xbc │ fixed 196 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼─────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x58 │ inherit 128 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x18 │ inherit 209 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xe8 │ fixed 1 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x78 │ fixed 87 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # geneve │ 6 │ 6 │ inherit 0x40 │ inherit 207 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x9c │ inherit 195 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xa0 │ fixed 240 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xb4 │ fixed 5 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0xa4 │ inherit 149 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0xc0 │ inherit 98 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x78 │ fixed 205 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x2c │ fixed 177 │ 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__->