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/wt-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing/wt-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: l2_tos_ttl_inherit.sh # ┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 4 │ inherit 0xa0 │ inherit 23 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xe0 │ inherit 24 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x64 │ fixed 150 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x50 │ fixed 72 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xec │ inherit 239 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x18 │ inherit 197 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x38 │ fixed 218 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0xc0 │ fixed 27 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x0c │ inherit 118 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x60 │ inherit 254 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xa8 │ fixed 125 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x7c │ fixed 163 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xcc │ inherit 141 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0xf8 │ inherit 41 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x30 │ fixed 46 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xdc │ fixed 213 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xa4 │ inherit 62 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0xf0 │ inherit 7 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x58 │ fixed 136 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x84 │ fixed 240 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x88 │ inherit 31 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0xd0 │ inherit 173 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0xbc │ fixed 111 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0x04 │ fixed 231 │ true │ OK │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x20 │ inherit 170 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x64 │ inherit 126 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x80 │ fixed 44 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xc4 │ fixed 17 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x6c │ inherit 233 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xf8 │ inherit 46 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xe0 │ fixed 237 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x60 │ fixed 207 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xe8 │ inherit 37 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x54 │ inherit 93 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0xac │ fixed 212 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0xbc │ fixed 96 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x30 │ inherit 31 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xe8 │ inherit 52 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x4c │ fixed 161 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x58 │ fixed 191 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x2c │ inherit 250 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x90 │ inherit 85 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x08 │ fixed 187 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xc8 │ fixed 212 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x14 │ inherit 131 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x74 │ inherit 249 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x7c │ fixed 55 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x74 │ fixed 179 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x14 │ inherit 216 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0x64 │ inherit 178 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x44 │ fixed 87 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x78 │ fixed 89 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x48 │ inherit 5 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x78 │ inherit 223 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xf0 │ fixed 210 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x0c │ fixed 46 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0xe4 │ inherit 57 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xf4 │ inherit 165 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x6c │ fixed 166 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x68 │ fixed 252 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x78 │ inherit 68 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x0c │ inherit 85 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x2c │ fixed 185 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x2c │ fixed 218 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x3c │ inherit 194 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xcc │ inherit 153 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xd8 │ fixed 245 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xf4 │ fixed 220 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0xa0 │ inherit 28 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x48 │ inherit 161 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0xd4 │ fixed 61 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x78 │ fixed 1 │ true │ OK │ # └────────┴───────┴───────┴──────────────┴──────────────┴───────┴────────┘ ok 1 selftests: net: l2_tos_ttl_inherit.sh make[1]: Leaving directory '/home/virtme/testing/wt-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing/wt-1/tools/testing/selftests' xx__-> echo $? 0 xx__->