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 87 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xc4 │ inherit 62 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x8c │ fixed 235 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0xfc │ fixed 42 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xe0 │ inherit 205 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x44 │ inherit 218 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xf4 │ fixed 216 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x1c │ fixed 218 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x74 │ inherit 255 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xdc │ inherit 139 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x40 │ fixed 239 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x98 │ fixed 177 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x9c inherit 11 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x44 │ inherit 57 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xf0 │ fixed 113 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xf8 │ fixed 155 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xdc │ inherit 227 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x2c │ inherit 159 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x44 │ fixed 144 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x90 │ fixed 232 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0xf0 │ inherit 182 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x28 │ inherit 250 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x58 │ fixed 123 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0x10 │ fixed 14 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan 4 │ 4 │ inherit 0x30 │ inherit 127 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xb4 │ inherit 208 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xd0 │ fixed 242 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xc0 │ fixed 69 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xac │ inherit 131 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xbc │ inherit 185 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x14 │ fixed 101 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x7c │ fixed 181 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x50 │ inherit 165 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0xc0 │ inherit 227 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x50 │ fixed 163 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0xf8 │ fixed 188 │ true │ OK │ # ├────────┼───────┼───────┼───────────────────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x70 │ inherit 93 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xec │ inherit 40 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xec │ fixed 9 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xb8 │ fixed 47 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x18 │ inherit 134 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x34 │ inherit 184 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x64 │ fixed 73 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x54 │ fixed 90 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x9c │ inherit 91 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x48 │ inherit 228 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x04 │ fixed 221 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x14 │ fixed 176 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x68 │ inherit 45 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xb4 │ inherit 189 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x5c │ fixed 240 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x14 │ fixed 214 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x0c │ inherit 9 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x98 │ inherit 9 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x5c │ fixed 141 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x94 │ fixed 136 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0xe8 │ inherit 212 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x5c │ inherit 115 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x1c │ fixed 40 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x98 │ fixed 251 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0xbc │ inherit 42 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x70 │ inherit 97 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x64 │ fixed 85 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x40 │ fixed 57 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x68 │ inherit 150 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xbc │ inherit 227 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x58 │ fixed 29 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x20 │ fixed 78 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x50 │ inherit 74 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x64 │ inherit 157 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0xb4 │ fixed 71 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x0c │ fixed 227 │ 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__->