make -C tools/testing/selftests TARGETS=net TEST_PROGS=l2_tos_ttl_inherit..sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-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 0xc0 │ inherit 125 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xac │ inherit 154 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x0c │ fixed 65 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x64 │ fixed 3 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x70 │ inherit 239 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0xf0 │ inherit 99 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xe8 │ fixed 12 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x48 │ fixed 78 │ true │ OK │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x40 │ inherit 158 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x28 │ inherit 92 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xcc │ fixed 244 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0xe4 │ fixed 117 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xb8 │ inherit 63 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x2c │ inherit 200 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x6c │ fixed 119 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xf4 │ fixed 185 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xcc │ inherit 237 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x38 │ inherit 22 │ true │ OK │ # │ gre 6 │ 6 │ fixed 0xe4 │ fixed 171 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x90 │ fixed 193 │ true │ OK │ # ├────────┼───────┼─────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x50 │ inherit 115 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x84 │ inherit 141 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x64 │ fixed 165 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0x64 │ fixed 114 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # vxlan │ 4 │ 4 │ inherit 0x30 │ inherit 14 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xf8 │ inherit 45 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x34 │ fixed 66 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x90 │ fixed 59 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 inherit 0xe4 │ inherit 145 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x58 │ inherit 180 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xfc fixed 105 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x20 │ fixed 98 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xd0 │ inherit 38 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x3c │ inherit 140 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x08 │ fixed 33 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x80 │ fixed 144 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0xd4 │ inherit 249 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xa0 │ inherit 1 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xa0 │ fixed 157 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x5c │ fixed 226 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0xb8 │ inherit 177 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x8c │ inherit 67 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xf8 │ fixed 224 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x40 │ fixed 144 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x90 │ inherit 160 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x60 │ inherit 188 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0xd0 │ fixed 136 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0xdc │ fixed 208 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼───────┤ # │ geneve │ 4 │ 4 │ inherit 0xd4 │ inherit 24 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xb8 │ inherit 222 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x0c │ fixed 205 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xb8 │ fixed 183 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x6c │ inherit 51 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x8c │ inherit 67 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xe8 │ fixed 125 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x28 │ fixed 196 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x50 │ inherit 45 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0xa0 │ inherit 52 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x08 │ fixed 229 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x84 │ fixed 126 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼────────────────────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x90 │ inherit 198 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x1c │ inherit 238 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x14 │ fixed 119 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xf8 │ fixed 8 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x40 │ inherit 20 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xf8 │ inherit 108 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xf8 │ fixed 192 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x0c │ fixed 116 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0xf0 │ inherit 113 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0xb0 │ inherit 19 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x88 │ fixed 206 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0xfc │ fixed 79 │ true │ OK │ # └────────┴───────┴───────┴──────────────┴──────────────┴───────┴────────┘ ok 1 selftests: net: l2_tos_ttl_inherit.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->