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 57 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x70 │ inherit 148 │ true │ OK │ # │ gre 4 │ 4 │ fixed 0xfc │ fixed 65 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0xf0 │ fixed 51 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xbc │ inherit 180 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x54 │ inherit 210 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x10 │ fixed 119 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x38 │ fixed 28 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xd4 │ inherit 77 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x5c │ inherit 192 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x14 │ fixed 151 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x6c │ fixed 116 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xec │ inherit 215 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x2c │ inherit 33 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x24 │ fixed 30 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xbc │ fixed 21 │ true │ OK │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x08 │ inherit 17 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0xc4 │ inherit 5 │ true │ OK # │ gre │ 6 │ 6 │ fixed 0x74 │ fixed 103 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xa0 │ fixed 69 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0xe8 │ inherit 78 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x4c │ inherit 221 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x60 │ fixed 135 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0x80 │ fixed 195 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x2c │ inherit 208 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x3c │ inherit 247 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xf4 │ fixed 58 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x14 │ fixed 129 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xa8 │ inherit 12 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x7c │ inherit 132 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x94 │ fixed 179 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xb8 │ fixed 110 │ true │ OK │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x60 │ inherit 165 │ false OK │ # │ vxlan │ 4 │ other │ inherit 0xc4 │ inherit 201 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x90 │ fixed 21 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x20 │ fixed 22 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x94 │ inherit 122 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xb4 │ inherit 209 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x0c fixed 19 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x48 │ fixed 248 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x98 │ inherit 106 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x9c │ inherit 63 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x98 │ fixed 185 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x94 │ fixed 169 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0xb8 │ inherit 255 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0xe8 │ inherit 173 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0xe8 │ fixed 162 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0xd8 │ fixed 167 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├──────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x98 │ inherit 21 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xb8 │ inherit 16 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x20 │ fixed 229 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x30 │ fixed 165 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x94 │ inherit 32 false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xf8 │ inherit 212 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xd8 │ fixed 25 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x74 │ fixed 56 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x08 │ inherit 158 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x90 │ inherit 152 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0xe4 │ fixed 18 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0xa8 │ fixed 241 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x50 │ inherit 147 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0xf4 │ inherit 89 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x28 │ fixed 120 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x1c │ fixed 143 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0xa4 │ inherit 29 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xa4 │ inherit 84 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x70 │ fixed 174 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x88 │ fixed 73 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x04 │ inherit 76 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x3c │ inherit 166 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0xb8 │ fixed 135 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0xf4 │ fixed 8 │ 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__->