Lines Matching +full:route +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
20 ip link set dev $swp1 up
21 ip link set dev $swp2 up
66 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
74 log_test "vxlan device - valid configuration"
83 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
91 log_test "vxlan device with a vlan-aware bridge"
100 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
116 ip link add name dummy1 up type dummy
118 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
137 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
154 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
171 ip link add name vxlan0 up type vxlan id 10 learning noudpcsum \
187 ip link add name dummy1 up type dummy
189 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
207 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
225 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
242 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
259 ip link add name vxlan0 up type vxlan id 10 nolearning udpcsum \
337 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
339 ip link add name vxlan1 up type vxlan id 20 nolearning noudpcsum \
349 log_test "multiple vxlan devices - valid configuration"
359 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
361 ip link add name vxlan1 up type vxlan id 20 nolearning noudpcsum \
381 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
383 ip link add name vxlan1 up type vxlan id 20 nolearning noudpcsum \
403 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
405 ip link add name vxlan1 up type vxlan id 20 nolearning noudpcsum \
440 ip link add name br0 up type bridge mcast_snooping 0
441 ip link add name br1 up type bridge mcast_snooping 0
448 ip link add name vxlan0 up master br0 type vxlan id 10 nolearning \
450 ip link add name vxlan1 up master br1 type vxlan id 20 nolearning \
494 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
497 log_test "vxlan entry offload indication - initial state"
508 log_test "vxlan entry offload indication - after removal from bridge"
519 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
522 log_test "vxlan entry offload indication - after re-add to bridge"
530 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
533 log_test "vxlan entry offload indication - after removal from vxlan"
544 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
547 log_test "vxlan entry offload indication - after re-add to vxlan"
563 ip route show table local 198.51.100.1
568 ip route show table local 198.51.100.1
573 ip route show table local 198.51.100.1
576 log_test "vxlan decap route - vxlan device down"
580 ip link set dev vxlan1 up
582 ip route show table local 198.51.100.1
585 ip link set dev vxlan0 up
587 ip route show table local 198.51.100.1
590 log_test "vxlan decap route - vxlan device up"
596 ip route show table local 198.51.100.1
601 ip route show table local 198.51.100.1
604 log_test "vxlan decap route - add local route"
610 ip route show table local 198.51.100.1
615 ip route show table local 198.51.100.1
621 ip route show table local 198.51.100.1
624 log_test "vxlan decap route - local ports enslavement"
630 ip route show table local 198.51.100.1
635 ip route show table local 198.51.100.1
638 log_test "vxlan decap route - bridge device deletion"
642 ip link add name br0 up type bridge mcast_snooping 0
643 ip link add name br1 up type bridge mcast_snooping 0
649 ip route show table local 198.51.100.1
654 ip route show table local 198.51.100.1
659 ip route show table local 198.51.100.1
662 log_test "vxlan decap route - vxlan device deletion"
664 ip link add name vxlan0 up master br0 type vxlan id 10 nolearning \
666 ip link add name vxlan1 up master br1 type vxlan id 20 nolearning \
692 bridge fdb show dev vxlan0 | grep $mac | grep -q self
698 bridge fdb show dev vxlan0 | grep $zmac | grep -q self
710 bridge fdb show dev vxlan0 | grep $mac | grep -q master
734 log_test "offload indication - attach vxlan first"
740 log_test "offload indication - set vxlan down"
743 ip link set dev vxlan0 up
746 log_test "offload indication - set vxlan up"
748 if [[ ! -z $vid ]]; then
753 log_test "offload indication - delete VLAN"
759 log_test "offload indication - add tagged VLAN"
765 log_test "offload indication - add pvid/untagged VLAN"
771 log_test "offload indication - detach port"
776 ip link add dev br0 up type bridge mcast_snooping 0
777 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
806 log_test "offload indication - attach vxlan last"
811 ip link add dev br0 up type bridge mcast_snooping 0
812 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
828 log_info "offload indication - replay & cleanup"
839 ip link add name vxlan10 up master br0 type vxlan id 10 nolearning \
842 ip link add name vxlan20 up master br0 type vxlan id 20 nolearning \
853 log_test "vlan-aware - enslavement to vlan-aware bridge"
862 log_test "vlan-aware - two vnis mapped to the same vlan"
876 log_test "vlan-aware - failed enslavement to vlan-aware bridge"
882 # (i.e., different TTL) are enslaved to the same VLAN-aware bridge,
885 # Use the offload indication of the local route to ensure the VXLAN
894 ip route show table local 198.51.100.1
897 log_test "vlan-aware - failed enslavement to bridge due to conflict"
909 # Create a simple setup with two VxLAN devices and a single VLAN-aware
911 ip link add name br0 up type bridge mcast_snooping 0 vlan_filtering 1 \
921 ip link add name vxlan10 up master br0 type vxlan id 10 nolearning \
923 ip link add name vxlan20 up master br0 type vxlan id 20 nolearning \
952 log_info "vxlan entry offload indication - vlan-aware"
961 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
964 log_test "vxlan entry offload indication - initial state"
975 log_test "vxlan entry offload indication - after removal from bridge"
986 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
989 log_test "vxlan entry offload indication - after re-add to bridge"
997 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1000 log_test "vxlan entry offload indication - after removal from vxlan"
1011 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1014 log_test "vxlan entry offload indication - after re-add to vxlan"
1024 ip route show table local 198.51.100.1
1027 # Toggle PVID flag on one VxLAN device and make sure route is still
1032 ip route show table local 198.51.100.1
1035 # Toggle PVID flag on second VxLAN device and make sure route is no
1040 ip route show table local 198.51.100.1
1043 # Toggle PVID flag back and make sure route is marked as offloaded
1047 busywait "$TIMEOUT" wait_for_offload ip route show table local 198.51.100.1
1050 log_test "vxlan decap route - vni map/unmap"
1055 ip link add dev br0 up type bridge mcast_snooping 0 \
1057 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
1068 ip link add dev br0 up type bridge mcast_snooping 0 \
1070 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
1086 ip link add dev br0 up type bridge mcast_snooping 0 \
1088 ip link add name vxlan0 up type vxlan id 10 nolearning noudpcsum \
1105 ip link add link br0 name br10 up type vlan id 10
1107 ip -6 address add 2001:db8:1::1/64 dev br10
1129 log_test "vxlan - l3 vni"
1143 log_info "offload indication - replay & cleanup - vlan aware"