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 0xac │ inherit 25 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xc4 │ inherit 176 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xc4 │ fixed 138 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x90 │ fixed 213 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xd0 │ inherit 39 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0xc0 │ inherit 31 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x34 │ fixed 125 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0xe4 │ fixed 192 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xec │ inherit 80 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x20 │ inherit 47 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x38 │ fixed 38 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x6c │ fixed 237 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xc8 │ inherit 56 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x38 │ inherit 98 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xbc │ fixed 177 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x28 │ fixed 116 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x04 │ inherit 179 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x08 │ inherit 75 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x44 │ fixed 66 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xe0 │ fixed 227 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0xac │ inherit 143 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0xe8 │ inherit 250 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x54 │ fixed 25 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xa4 │ fixed 243 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0xf4 │ inherit 30 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xc8 │ inherit 210 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xe0 │ fixed 191 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x7c │ fixed 134 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x24 │ inherit 180 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x24 │ inherit 19 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x88 │ fixed 239 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xf8 │ fixed 11 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x9c │ inherit 107 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x38 │ inherit 66 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0xd8 │ fixed 40 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x5c │ fixed 89 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼──────┤ # │ vxlan │ 6 │ 4 │ inherit 0x38 │ inherit 243 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x04 │ inherit 222 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x98 │ fixed 191 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xfc │ fixed 11 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x3c │ inherit 55 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x44 │ inherit 74 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x54 │ fixed 177 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xd4 │ fixed 92 │ true │ OK │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x64 │ inherit 35 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0xc8 │ inherit 11 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x18 │ fixed 235 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0xc8 │ fixed 237 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0xe8 │ inherit 192 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0x98 │ inherit 18 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x70 │ fixed 3 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x60 │ fixed 89 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x38 │ inherit 222 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x2c │ inherit 62 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x9c │ fixed 30 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xe8 │ fixed 197 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x64 │ inherit 26 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x78 │ inherit 60 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0xd0 │ fixed 229 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x08 │ fixed 10 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x90 │ inherit 212 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0xfc │ inherit 79 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x84 │ fixed 138 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xc0 │ fixed 245 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x10 │ inherit 25 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x6c │ inherit 10 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xe4 │ fixed 136 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x10 │ fixed 148 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x40 │ inherit 171 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x98 │ inherit 59 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x70 │ fixed 19 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0xd0 │ fixed 162 │ 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__->