Lines Matching +full:no +full:- +full:ether +full:- +full:link

12 #     substantially similar to the "NO WARRANTY" disclaimer below
17 # NO WARRANTY
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
56 atf_check -o match:"inet ${ADDR}" ifconfig $LAGG
57 atf_check -o match:"laggport: ${TAP0}" ifconfig $LAGG
58 atf_check -o match:"laggport: ${TAP1}" ifconfig $LAGG
61 MAC=`ifconfig $LAGG | awk '/ether/ {print $2}'`
62 atf_check -o match:"ether ${MAC}" ifconfig $TAP0
63 atf_check -o match:"ether ${MAC}" ifconfig $TAP1
65 # Check that no members have an IPv6 link-local address. IPv6
66 # link-local addresses should never be merged in any way to prevent
68 atf_check -o not-match:"inet6 fe80:" ifconfig $TAP0
69 atf_check -o not-match:"inet6 fe80:" ifconfig $TAP1
109 echo -n . >> creator_count.txt
115 ifconfig -am 2> /dev/null > /dev/null
116 echo -n . >> querier_count.txt
123 echo "Created the lagg `stat -f %z creator_count.txt` times."
124 echo "Queried its status `stat -f %z querier_count.txt` times"
156 echo -n . >> creator_count.txt
163 echo -n . >> destroyer_count.txt
170 echo "Created the lagg `stat -f %z creator_count.txt` times."
171 echo "Destroyed it `stat -f %z destroyer_count.txt` times."
178 # This test regresses a panic that is particular to LACP. If the child's link
180 # use-after-free. The problem is compounded by two factors:
182 # 2) The cxgbe driver will show the link state as "no carrier" as soon as you
188 atf_set "descr" "Simultaneously destroy an LACP lagg and change its childrens link states"
219 # We must open the tap devices to change their link states
229 echo -n . >> linkstate_count.txt ; } &
232 echo -n . >> destroy_count.txt ; } &
240 echo "Disconnected the children `stat -f %z linkstate_count.txt` times."
241 echo "Destroyed the lagg `stat -f %z destroy_count.txt` times."
286 echo -n . >> up_count.txt ; } &
289 echo -n . >> destroy_count.txt ; } &
297 echo "Upped the lagg `stat -f %z up_count.txt` times."
298 echo "Destroyed it `stat -f %z destroy_count.txt` times."
331 atf_check ifconfig $LAGG ether ${MAC}
334 atf_check -o match:"ether ${MAC}" ifconfig $LAGG
335 atf_check -o match:"ether ${MAC}" ifconfig $TAP0
336 atf_check -o match:"ether ${MAC}" ifconfig $TAP1
370 atf_check -o not-match:"flags=.*\<UP\>" ifconfig $LAGG
371 atf_check -o not-match:"flags=.*\<UP\>" ifconfig $TAP0
372 atf_check -o not-match:"flags=.*\<UP\>" ifconfig $TAP1
375 atf_check -o match:"flags=.*\<UP\>" ifconfig $LAGG
376 atf_check -o match:"flags=.*\<UP\>" ifconfig $TAP0
377 atf_check -o match:"flags=.*\<UP\>" ifconfig $TAP1
379 # Check that no members have acquired an IPv6 link-local address by
380 # virtue of being upped. IPv6 link-local addresses should never be
382 atf_check -o not-match:"inet6 fe80:" ifconfig $TAP0
383 atf_check -o not-match:"inet6 fe80:" ifconfig $TAP1
390 # Check for lock-order reversals. For best results, this test should be run
395 atf_set "descr" "Check witness(4) for lock-order reversals in if_lagg"
402 if [ `sysctl -n debug.witness.watch` -ne 1 ]; then
405 if `sysctl -n debug.witness.badstacks | grep -q 'at lagg_'`; then
407 atf_fail "Lock-order reversals involving if_lagg.c detected"
430 if [ "$TAPN" -ge 8 ]; then
447 if [ "$LAGGN" -ge 8 ]; then