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 0x98 │ inherit 42 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xe0 │ inherit 20 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xe8 │ fixed 124 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x0c │ fixed 239 │ true │ OK │ # ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x70 │ inherit 234 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x4c │ inherit 25 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x04 │ fixed 42 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0xf4 │ fixed 146 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x9c │ inherit 8 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xdc │ inherit 170 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xf0 │ fixed 32 │ false │ OK │ # │ gre 4 │ other │ fixed 0x4c │ fixed 46 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xb4 │ inherit 90 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x50 │ inherit 91 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x9c │ fixed 108 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x7c │ fixed 162 │ true │ OK │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xe4 │ inherit 30 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0xec │ inherit 203 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x70 │ fixed 254 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x80 │ fixed 165 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x6c │ inherit 250 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x30 │ inherit 115 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x9c │ fixed 77 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xf4 │ fixed 61 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x28 │ inherit 15 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x88 │ inherit 165 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x18 │ fixed 250 │ false │ OK # │ vxlan │ 4 │ 4 │ fixed 0x74 │ fixed 161 │ true │ OK │ # ├────────┼───────┼─────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x90 │ inherit 70 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xec │ inherit 181 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x34 │ fixed 240 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xf0 │ fixed 118 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xe0 │ inherit 139 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0xec │ inherit 71 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0xd8 │ fixed 55 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x8c │ fixed 138 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x08 │ inherit 202 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x90 │ inherit 216 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xb4 │ fixed 207 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x44 │ fixed 238 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x04 │ inherit 103 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x8c │ inherit 199 │ true OK │ # │ vxlan │ 6 │ 6 │ fixed 0x5c │ fixed 219 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x98 │ fixed 134 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x10 │ inherit 85 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x64 │ inherit 204 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x8c │ fixed 191 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x2c │ fixed 124 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x80 │ inherit 156 │ false │ OK │ # │ geneve │ 4 │ 4 inherit 0x74 │ inherit 202 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x04 │ fixed 115 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xa4 │ fixed 211 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x90 │ inherit 173 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xc8 │ inherit 219 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x30 │ fixed 55 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xa8 │ fixed 98 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0xc0 │ inherit 93 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xd4 │ inherit 116 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x04 │ fixed 201 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x24 │ fixed 99 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x8c │ inherit 180 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x84 │ inherit 21 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xb4 │ fixed 204 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x8c │ fixed 253 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0xe4 │ inherit 149 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x2c │ inherit 228 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xbc │ fixed 119 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xfc │ fixed 148 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x54 │ inherit 213 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x10 │ inherit 10 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x28 │ fixed 233 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x84 │ fixed 22 │ 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__->