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 0xd4 │ inherit 55 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x34 │ inherit 88 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xac │ fixed 101 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x18 │ fixed 39 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xac │ inherit 65 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0xfc │ inherit 150 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x70 │ fixed 251 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x84 │ fixed 66 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xac │ inherit 231 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x14 │ inherit 137 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xb4 │ fixed 194 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x88 │ fixed 182 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x0c │ inherit 58 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x98 │ inherit 81 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x50 │ fixed 159 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x90 │ fixed 30 │ true │ OK │ # ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤ # │ gre 6 │ 6 │ inherit 0xac │ inherit 233 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x64 │ inherit 91 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x34 │ fixed 166 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xd4 │ fixed 1 true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x44 │ inherit 147 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x3c │ inherit 44 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x64 │ fixed 219 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0x28 │ fixed 89 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x4c │ inherit 184 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x3c │ inherit 20 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x30 │ fixed 190 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x50 │ fixed 83 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x88 │ inherit 68 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x1c │ inherit 94 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xf8 │ fixed 95 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x54 │ fixed 96 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xc0 │ inherit 212 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x24 │ inherit 180 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x14 │ fixed 239 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0xe0 │ fixed 31 │ true │ OK # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x78 │ inherit 234 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xc8 │ inherit 195 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xdc │ fixed 43 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xd4 │ fixed 61 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x40 │ inherit 244 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0xb0 │ inherit 48 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x14 │ fixed 247 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x20 │ fixed 177 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0xc8 │ inherit 116 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x80 │ inherit 167 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x70 │ fixed 72 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0xc4 │ fixed 12 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x64 │ inherit 249 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xe0 │ inherit 199 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xf8 │ fixed 20 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xd4 │ fixed 40 │ true │ OK │ # ────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x34 │ inherit 61 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xb4 │ inherit 169 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x5c │ fixed 158 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x30 │ fixed 172 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x2c │ inherit 240 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xa0 │ inherit 200 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x58 │ fixed 234 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0xf4 │ fixed 152 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x9c │ inherit 201 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x74 │ inherit 149 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x44 │ fixed 205 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x24 │ fixed 199 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x9c │ inherit 250 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x88 │ inherit 19 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x88 │ fixed 77 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x1c │ fixed 59 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x5c │ inherit 130 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x88 │ inherit 86 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x60 │ fixed 21 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0xc8 │ fixed 41 │ 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__->