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 0xb4 │ inherit 191 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x78 │ inherit 176 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xb8 │ fixed 225 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0xe0 │ fixed 204 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x48 │ inherit 47 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0xe0 │ inherit 28 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x2c │ fixed 72 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x4c │ fixed 39 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x20 │ inherit 3 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x6c │ inherit 2 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x78 │ fixed 21 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x78 │ fixed 209 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼──────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xe4 │ inherit 87 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0xf4 │ inherit 62 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x84 │ fixed 213 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x1c │ fixed 233 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xe0 │ inherit 62 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x90 │ inherit 174 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x5c │ fixed 208 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x48 │ fixed 90 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x28 │ inherit 15 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x88 │ inherit 212 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x94 │ fixed 134 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xf4 │ fixed 191 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0xd8 │ inherit 92 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x50 │ inherit 116 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x44 │ fixed 195 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x10 │ fixed 110 │ true │ OK │ # ├──────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x9c │ inherit 200 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xe0 │ inherit 235 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x10 │ fixed 38 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x6c │ fixed 205 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xe0 │ inherit 132 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x6c │ inherit 25 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x40 │ fixed 146 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x44 │ fixed 241 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0xc8 │ inherit 186 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x34 │ inherit 184 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x68 │ fixed 177 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x60 │ fixed 130 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x0c │ inherit 49 │ false │ OK # │ vxlan │ 6 │ 6 │ inherit 0x78 │ inherit 161 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x64 │ fixed 155 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xf4 │ fixed 104 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0xf8 │ inherit 158 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0xe0 │ inherit 216 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x74 │ fixed 102 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0xf4 │ fixed 241 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0xe8 │ inherit 136 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0x6c │ inherit 1 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x18 │ fixed 223 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x44 │ fixed 125 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0xe8 │ inherit 30 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xf0 │ inherit 145 true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x04 │ fixed 189 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x48 │ fixed 206 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0xa0 │ inherit 6 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x9c │ inherit 79 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0xf4 │ fixed 104 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0xf8 │ fixed 169 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x34 │ inherit 156 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x44 │ inherit 227 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xb0 │ fixed 200 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xe0 │ fixed 65 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0xb4 │ inherit 191 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xc0 │ inherit 179 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x44 │ fixed 50 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x74 │ fixed 8 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x8c │ inherit 86 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x68 │ inherit 177 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x08 │ fixed 178 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0xc8 │ fixed 70 │ 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__->