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-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 0x1c │ inherit 47 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x08 │ inherit 200 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xf8 │ fixed 146 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0xc8 │ fixed 96 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xe0 │ inherit 198 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x78 │ inherit 21 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0xb4 │ fixed 84 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0xb4 │ fixed 163 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xa4 │ inherit 199 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0x20 │ inherit 176 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xe0 │ fixed 237 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x7c │ fixed 227 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x18 │ inherit 9 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0xfc │ inherit 93 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xe0 │ fixed 228 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x04 │ fixed 34 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xd0 inherit 31 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0xb4 │ inherit 58 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x30 │ fixed 130 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x84 │ fixed 12 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x68 │ inherit 247 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x84 │ inherit 1 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0xb4 │ fixed 102 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xa8 │ fixed 206 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0xbc │ inherit 51 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xb8 │ inherit 67 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x90 fixed 234 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xe0 │ fixed 18 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x20 │ inherit 248 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xf8 │ inherit 241 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x9c │ fixed 254 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x18 │ fixed 190 │ true │ OK │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xe0 │ inherit 48 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x2c │ inherit 143 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x94 │ fixed 73 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0xcc │ fixed 232 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x04 │ inherit 102 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xb8 │ inherit 5 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xbc fixed 52 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x4c │ fixed 76 │ true │ OK │ # ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x74 │ inherit 52 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x34 │ inherit 168 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x6c │ fixed 142 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x94 │ fixed 182 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x04 │ inherit 42 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x7c │ inherit 116 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x08 │ fixed 168 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0xfc │ fixed 12 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x20 │ inherit 162 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0xe4 │ inherit 232 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xc0 │ fixed 129 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x98 │ fixed 201 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x2c │ inherit 248 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x50 │ inherit 213 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x20 │ fixed 175 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x68 │ fixed 24 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x38 │ inherit 96 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x18 │ inherit 156 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x40 │ fixed 177 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x5c │ fixed 143 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x7c │ inherit 217 │ false │ OK # │ geneve │ 6 │ 4 │ inherit 0x50 │ inherit 146 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x80 │ fixed 128 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xa0 │ fixed 145 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x04 │ inherit 78 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x0c │ inherit 215 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x0c │ fixed 74 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xdc │ fixed 196 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x74 │ inherit 141 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x8c │ inherit 88 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x04 │ fixed 49 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0xa4 │ fixed 145 │ 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__->