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 0x68 │ inherit 4 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x70 │ inherit 65 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x08 │ fixed 241 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x18 │ fixed 244 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xa8 │ inherit 210 │ false OK │ # │ gre │ 4 │ 6 │ inherit 0xe4 │ inherit 3 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x88 │ fixed 23 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x70 │ fixed 2 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x64 │ inherit 227 │ false OK │ # │ gre │ 4 │ other │ inherit 0x48 │ inherit 122 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x34 │ fixed 3 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0xc8 │ fixed 107 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x4c │ inherit 7 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0xe0 │ inherit 184 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xf4 │ fixed 247 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xa0 │ fixed 110 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xb4 │ inherit 248 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0xbc │ inherit 136 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x74 │ fixed 136 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xc0 │ fixed 40 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x68 inherit 197 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x2c │ inherit 172 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x04 │ fixed 207 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0x38 │ fixed 74 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0xc0 │ inherit 15 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xa4 │ inherit 182 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x64 │ fixed 188 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xdc │ fixed 180 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xd4 │ inherit 37 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x50 │ inherit 143 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x08 │ fixed 54 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x94 │ fixed 194 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x54 │ inherit 42 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0xc4 │ inherit 141 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x40 │ fixed 165 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x44 │ fixed 15 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x70 │ inherit 36 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xe4 │ inherit 87 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x3c │ fixed 244 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x4c │ fixed 176 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x30 │ inherit 37 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0xb0 │ inherit 241 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xcc │ fixed 198 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x48 │ fixed 122 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x70 │ inherit 156 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x6c │ inherit 98 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x94 │ fixed 143 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x04 │ fixed 172 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0xd4 │ inherit 175 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0x70 │ inherit 220 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x28 │ fixed 122 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xd4 │ fixed 150 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x10 │ inherit 156 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0x70 │ inherit 196 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0xf0 │ fixed 33 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x04 │ fixed 150 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼───────┤ # │ geneve │ 4 │ other │ inherit 0x84 │ inherit 136 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x44 │ inherit 34 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0x50 │ fixed 243 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0xb8 │ fixed 5 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0x80 │ inherit 100 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0xd4 │ inherit 99 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0xd8 │ fixed 212 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x50 │ fixed 62 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x1c │ inherit 10 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0x48 │ inherit 181 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xbc │ fixed 137 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x40 │ fixed 190 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x88 │ inherit 5 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x4c │ inherit 22 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x04 │ fixed 5 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x80 │ fixed 232 │ 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__->