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 0xc8 │ inherit 156 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x38 │ inherit 13 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x3c │ fixed 56 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x68 │ fixed 117 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xb0 │ inherit 208 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0xe0 │ inherit 231 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xc8 │ fixed 36 false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x48 │ fixed 250 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x20 │ inherit 199 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xd8 │ inherit 255 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xf0 │ fixed 90 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x8c │ fixed 252 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xbc │ inherit 206 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x84 │ inherit 174 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x3c │ fixed 33 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x9c │ fixed 23 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x94 │ inherit 45 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x70 │ inherit 222 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x1c │ fixed 252 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x94 │ fixed 178 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x80 │ inherit 136 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x38 │ inherit 3 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x64 │ fixed 143 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xb0 │ fixed 159 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x4c │ inherit 134 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x2c │ inherit 126 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x88 │ fixed 98 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xd4 │ fixed 124 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xb8 │ inherit 235 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x54 │ inherit 170 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xf0 │ fixed 206 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x84 │ fixed 166 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────────────┤ # │ vxlan │ 4 │ other │ inherit 0x48 │ inherit 46 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x78 │ inherit 8 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0xe8 │ fixed 159 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x68 │ fixed 135 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼───────┤ # │ vxlan │ 6 │ 4 │ inherit 0x40 │ inherit 88 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x1c │ inherit 53 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xc8 │ fixed 86 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x80 │ fixed 247 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0xcc │ inherit 102 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x28 │ inherit 215 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x38 │ fixed 223 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xe8 │ fixed 130 │ true │ OK │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x54 inherit 180 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0xdc │ inherit 136 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0xa0 │ fixed 70 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x10 │ fixed 138 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x88 │ inherit 88 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xc4 │ inherit 111 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x28 │ fixed 224 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xd4 │ fixed 77 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x2c │ inherit 228 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x80 │ inherit 37 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xec │ fixed 233 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x1c │ fixed 156 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x6c │ inherit 43 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x20 │ inherit 19 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x0c │ fixed 117 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x24 │ fixed 108 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x80 │ inherit 124 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0xa8 │ inherit 213 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xb0 │ fixed 13 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xbc │ fixed 178 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0xdc │ inherit 203 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x5c │ inherit 49 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x14 │ fixed 193 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x4c │ fixed 22 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼─────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x28 │ inherit 213 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x28 │ inherit 119 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x48 │ fixed 7 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x90 │ fixed 235 │ 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__->