Lines Matching +full:6 +full:a
65 num=$(ip -6 route show match ${pfx} | grep "offload" | wc -l)
78 # Add a prefix route and check that it is offloaded.
79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
101 # Delete the routes and add the same route with a different nexthop
103 ip -6 route flush 2001:db8:3::/64 dev $spine_p1
104 ip -6 route add 2001:db8:3::/64 dev $spine_p2
109 ip -6 route flush 2001:db8:3::/64
116 # Add a multipath route and check that it is offloaded.
117 ip -6 route add 2001:db8:3::/64 metric 100 \
124 ip -6 route append 2001:db8:3::/64 metric 100 \
131 ip -6 route del 2001:db8:3::/64
132 ip -6 route add 2001:db8:3::/64 metric 100 \
138 # Append a nexthop with an higher metric and check that the offload
140 ip -6 route append 2001:db8:3::/64 metric 200 \
147 # Prepend a nexthop with a lower metric and check that it is offloaded
149 ip -6 route append 2001:db8:3::/64 metric 10 \
160 ip -6 route flush 2001:db8:3::/64
174 ip -6 route add 2001:db8:3::/64 metric 100 dev $spine_p1
177 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p2
182 ip -6 route replace 2001:db8:3::/64 metric 100 \
188 # Replace multipath route with prefix route. A prefix route cannot
189 # replace a multipath route, so it is appended.
190 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p1
197 ip -6 route replace 2001:db8:3::/64 metric 100 \
203 # Replace a non-existing multipath route with a multipath route and
205 ip -6 route replace 2001:db8:3::/64 metric 200 \
215 ip -6 route flush 2001:db8:3::/64
225 ip -6 route add 2001:db8:3::/64 \
228 ip -6 route add 2001:db8:4::/64 \
235 ip -6 route del 2001:db8:3::/64
239 # Check that after unsharing a nexthop group the routes are still
241 ip -6 route add 2001:db8:3::/64 \
244 ip -6 route del 2001:db8:4::/64 \
253 ip -6 route flush 2001:db8:3::/64
254 ip -6 route flush 2001:db8:4::/64
272 # long it takes to add them. A limit of 60 seconds is set. It is much
273 # higher than insertion should take and meant to flag a serious
278 ip -6 address add 2001:db8:1::10:$i/128 dev $tor1_p1
292 count=$(ip -6 route show | grep offload | wc -l)
295 count=$(ip -6 route show | grep offload | wc -l)
309 ip -6 address del 2001:db8:1::10:$i/128 dev $tor1_p1