Lines Matching +full:route +full:- +full:up

2 # SPDX-License-Identifier: GPL-2.0
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
91 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
99 log_test "vxlan device - valid configuration"
108 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
116 log_test "vxlan device with a vlan-aware bridge"
125 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
141 ip link add name dummy1 up type dummy
143 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
162 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
179 ip link add name vxlan0 up type vxlan id 10 learning $UDPCSUM_FLAFS \
195 ip link add name dummy1 up type dummy
197 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
215 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
233 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
250 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
267 ip link add name vxlan0 up type vxlan id 10 nolearning udpcsum \
344 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
346 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
356 log_test "multiple vxlan devices - valid configuration"
366 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
368 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
388 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
390 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
410 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
412 ip link add name vxlan1 up type vxlan id 20 nolearning $UDPCSUM_FLAFS \
449 ip link set dev br0 up
452 ip link set dev br1 up
459 ip link add name vxlan0 up master br0 type vxlan id 10 nolearning \
461 ip link add name vxlan1 up master br1 type vxlan id 20 nolearning \
505 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
508 log_test "vxlan entry offload indication - initial state"
519 log_test "vxlan entry offload indication - after removal from bridge"
530 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
533 log_test "vxlan entry offload indication - after re-add to bridge"
541 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
544 log_test "vxlan entry offload indication - after removal from vxlan"
555 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
558 log_test "vxlan entry offload indication - after re-add to vxlan"
574 ip $IP_FLAG route show table local $LOCAL_IP_1
579 ip $IP_FLAG route show table local $LOCAL_IP_1
584 ip $IP_FLAG route show table local $LOCAL_IP_1
587 log_test "vxlan decap route - vxlan device down"
591 ip link set dev vxlan1 up
593 ip $IP_FLAG route show table local $LOCAL_IP_1
596 ip link set dev vxlan0 up
598 ip $IP_FLAG route show table local $LOCAL_IP_1
601 log_test "vxlan decap route - vxlan device up"
607 ip $IP_FLAG route show table local $LOCAL_IP_1
612 ip $IP_FLAG route show table local $LOCAL_IP_1
615 log_test "vxlan decap route - add local route"
621 ip $IP_FLAG route show table local $LOCAL_IP_1
626 ip $IP_FLAG route show table local $LOCAL_IP_1
632 ip $IP_FLAG route show table local $LOCAL_IP_1
635 log_test "vxlan decap route - local ports enslavement"
641 ip $IP_FLAG route show table local $LOCAL_IP_1
646 ip $IP_FLAG route show table local $LOCAL_IP_1
649 log_test "vxlan decap route - bridge device deletion"
655 ip link set dev br0 up
658 ip link set dev br1 up
664 ip $IP_FLAG route show table local $LOCAL_IP_1
669 ip $IP_FLAG route show table local $LOCAL_IP_1
674 ip $IP_FLAG route show table local $LOCAL_IP_1
677 log_test "vxlan decap route - vxlan device deletion"
679 ip link add name vxlan0 up master br0 type vxlan id 10 nolearning \
681 ip link add name vxlan1 up master br1 type vxlan id 20 nolearning \
707 bridge fdb show dev vxlan0 | grep $mac | grep -q self
713 bridge fdb show dev vxlan0 | grep $zmac | grep -q self
725 bridge fdb show dev vxlan0 | grep $mac | grep -q master
749 log_test "offload indication - attach vxlan first"
755 log_test "offload indication - set vxlan down"
758 ip link set dev vxlan0 up
761 log_test "offload indication - set vxlan up"
763 if [[ ! -z $vid ]]; then
768 log_test "offload indication - delete VLAN"
774 log_test "offload indication - add tagged VLAN"
780 log_test "offload indication - add pvid/untagged VLAN"
786 log_test "offload indication - detach port"
793 ip link set dev br0 up
794 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
823 log_test "offload indication - attach vxlan last"
830 ip link set dev br0 up
831 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
847 log_info "offload indication - replay & cleanup"
859 ip link add name vxlan10 up master br0 type vxlan id 10 nolearning \
862 ip link add name vxlan20 up master br0 type vxlan id 20 nolearning \
873 log_test "vlan-aware - enslavement to vlan-aware bridge"
882 log_test "vlan-aware - two vnis mapped to the same vlan"
896 log_test "vlan-aware - failed enslavement to vlan-aware bridge"
902 # (i.e., different TTL) are enslaved to the same VLAN-aware bridge,
905 # Use the offload indication of the local route to ensure the VXLAN
914 ip $IP_FLAG route show table local $LOCAL_IP_1
917 log_test "vlan-aware - failed enslavement to bridge due to conflict"
929 # Create a simple setup with two VxLAN devices and a single VLAN-aware
934 ip link set dev br0 up
943 ip link add name vxlan10 up master br0 type vxlan id 10 nolearning \
945 ip link add name vxlan20 up master br0 type vxlan id 20 nolearning \
974 log_info "vxlan entry offload indication - vlan-aware"
983 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
986 log_test "vxlan entry offload indication - initial state"
997 log_test "vxlan entry offload indication - after removal from bridge"
1008 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1011 log_test "vxlan entry offload indication - after re-add to bridge"
1019 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1022 log_test "vxlan entry offload indication - after removal from vxlan"
1033 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1036 log_test "vxlan entry offload indication - after re-add to vxlan"
1046 ip $IP_FLAG route show table local $LOCAL_IP_1
1049 # Toggle PVID flag on one VxLAN device and make sure route is still
1054 ip $IP_FLAG route show table local $LOCAL_IP_1
1057 # Toggle PVID flag on second VxLAN device and make sure route is no
1062 ip $IP_FLAG route show table local $LOCAL_IP_1
1065 # Toggle PVID flag back and make sure route is marked as offloaded
1069 busywait "$TIMEOUT" wait_for_offload ip $IP_FLAG route show table local \
1073 log_test "vxlan decap route - vni map/unmap"
1081 ip link set dev br0 up
1082 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
1096 ip link set dev br0 up
1097 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
1116 ip link set dev br0 up
1117 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \
1134 ip link add link br0 name br10 up type vlan id 10
1136 ip -6 address add 2001:db8:1::1/64 dev br10
1158 log_test "vxlan - l3 vni"
1172 log_info "offload indication - replay & cleanup - vlan aware"