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-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: l2_tos_ttl_inherit.sh # ┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 4 │ inherit 0x88 │ inherit 230 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0xf8 │ inherit 34 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x34 │ fixed 50 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x8c │ fixed 181 │ true │ OK │ # ├───────────────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0xa0 │ inherit 54 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0xf4 │ inherit 242 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x7c │ fixed 29 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x9c │ fixed 52 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xd0 │ inherit 58 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xb4 │ inherit 57 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0x6c │ fixed 33 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0xac │ fixed 139 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x44 │ inherit 63 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0x48 │ inherit 55 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0x58 │ fixed 62 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0xfc │ fixed 252 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x08 │ inherit 85 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x60 │ inherit 213 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x38 │ fixed 20 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xa4 │ fixed 135 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x90 │ inherit 225 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x5c │ inherit 126 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x34 │ fixed 150 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xfc │ fixed 141 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼───────┤ # │ vxlan │ 4 │ 4 │ inherit 0x1c │ inherit 179 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xac │ inherit 210 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xb8 │ fixed 210 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x28 │ fixed 17 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x40 │ inherit 170 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x98 │ inherit 135 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x2c │ fixed 88 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x38 │ fixed 28 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x2c │ inherit 165 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x80 │ inherit 190 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x64 │ fixed 179 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x54 │ fixed 71 true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0xf8 │ inherit 90 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xf0 │ inherit 242 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xfc │ fixed 67 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x48 │ fixed 45 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0xec │ inherit 48 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0xa8 │ inherit 36 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x78 fixed 119 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x64 │ fixed 246 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x24 │ inherit 139 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x68 │ inherit 119 │ true │ OK │ # │ vxlan │ 6 │ other │ fixed 0x6c │ fixed 134 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x10 │ fixed 236 │ true │ OK │ # ├────────┼──────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x48 │ inherit 232 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0x10 │ inherit 21 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x34 │ fixed 62 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x18 │ fixed 8 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0xb4 │ inherit 100 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xd4 │ inherit 82 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x80 │ fixed 21 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x90 │ fixed 31 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x50 │ inherit 200 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x40 │ inherit 23 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0xa0 │ fixed 219 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x44 │ fixed 20 │ true │ OK │ # ├────────┼──────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0xc8 │ inherit 213 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0x98 │ inherit 109 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x70 │ fixed 80 │ false │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x90 │ fixed 174 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0xfc │ inherit 76 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xc0 │ inherit 193 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x34 │ fixed 253 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x78 │ fixed 45 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x2c │ inherit 35 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0x50 │ inherit 164 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0x40 │ fixed 149 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x30 │ fixed 14 │ true │ OK │ # └────────┴───────┴───────┴──────────────┴─────────────┴───────┴────────┘ ok 1 selftests: net: l2_tos_ttl_inherit.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->