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 0x68 │ inherit 60 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x78 │ inherit 122 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xd0 │ fixed 98 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0xc8 │ fixed 33 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x68 │ inherit 46 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x9c │ inherit 61 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xf4 │ fixed 151 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x24 │ fixed 70 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x3c │ inherit 17 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xc0 │ inherit 12 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x04 │ fixed 252 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0xe0 │ fixed 104 │ true │ OK │ # ├────────┼──────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x20 │ inherit 178 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0xac │ inherit 194 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x7c │ fixed 153 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xfc │ fixed 3 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x58 │ inherit 2 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x08 │ inherit 127 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0xf4 │ fixed 181 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xf0 │ fixed 160 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0xdc │ inherit 133 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0xec │ inherit 245 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0xc8 │ fixed 104 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xf0 │ fixed 48 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x88 │ inherit 23 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xac │ inherit 243 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x8c │ fixed 85 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x10 │ fixed 128 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xd4 │ inherit 139 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xa4 │ inherit 72 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x3c │ fixed 108 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x88 │ fixed 12 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xbc │ inherit 97 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0xd4 │ inherit 85 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x8c │ fixed 50 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x34 │ fixed 191 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0xac │ inherit 26 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x94 │ inherit 139 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x20 │ fixed 123 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x28 │ fixed 173 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x30 │ inherit 198 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x1c │ inherit 140 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x20 │ fixed 189 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xd4 │ fixed 220 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x6c │ inherit 220 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0xec │ inherit 228 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0xe8 │ fixed 123 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x08 │ fixed 32 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0xcc │ inherit 238 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xc8 │ inherit 113 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x48 │ fixed 5 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xd4 │ fixed 99 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0xd0 │ inherit 191 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xe0 │ inherit 125 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xa8 │ fixed 210 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x20 │ fixed 101 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x4c │ inherit 232 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xb0 │ inherit 217 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x78 │ fixed 9 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x60 │ fixed 153 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x20 │ inherit 32 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x28 │ inherit 231 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xf0 │ fixed 33 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x34 │ fixed 180 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x80 │ inherit 229 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x08 │ inherit 202 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xb0 │ fixed 206 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xd4 │ fixed 45 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x2c │ inherit 73 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0xcc │ inherit 141 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x94 │ fixed 21 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x5c │ fixed 86 │ 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__->