Lines Matching full:bridge

89 	ip link add dev br0 type bridge mcast_snooping 0
106 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
116 log_test "vxlan device with a vlan-aware bridge"
123 ip link add dev br0 type bridge
133 log_test "vxlan device with a multicast enabled bridge"
140 ip link add dev br0 type bridge mcast_snooping 0
160 ip link add dev br0 type bridge mcast_snooping 0
177 ip link add dev br0 type bridge mcast_snooping 0
194 ip link add dev br0 type bridge mcast_snooping 0
213 ip link add dev br0 type bridge mcast_snooping 0
231 ip link add dev br0 type bridge mcast_snooping 0
248 ip link add dev br0 type bridge mcast_snooping 0
265 ip link add dev br0 type bridge mcast_snooping 0
341 ip link add dev br0 type bridge mcast_snooping 0
342 ip link add dev br1 type bridge mcast_snooping 0
363 ip link add dev br0 type bridge mcast_snooping 0
364 ip link add dev br1 type bridge mcast_snooping 0
385 ip link add dev br0 type bridge mcast_snooping 0
386 ip link add dev br1 type bridge mcast_snooping 0
407 ip link add dev br0 type bridge mcast_snooping 0
408 ip link add dev br1 type bridge mcast_snooping 0
447 ip link add name br0 type bridge mcast_snooping 0
450 ip link add name br1 type bridge mcast_snooping 0
483 bridge fdb append 00:00:00:00:00:00 dev vxlan0 self dst $LOCAL_IP_2
486 bridge fdb show brport vxlan0
489 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self
498 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self master static \
502 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
505 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
510 # Remove FDB entry from the bridge driver and check that corresponding
514 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 master
516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
519 log_test "vxlan entry offload indication - after removal from bridge"
521 # Add the FDB entry back to the bridge driver and make sure it is
525 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 master static
527 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
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"
536 # entry in the bridge driver is not marked as offloaded
539 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 self
541 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
550 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self dst $LOCAL_IP_2
552 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
555 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
560 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 self master
649 log_test "vxlan decap route - bridge device deletion"
653 ip link add name br0 type bridge mcast_snooping 0
656 ip link add name br1 type bridge mcast_snooping 0
691 bridge fdb show dev vxlan0
694 bridge fdb show dev vxlan0
698 bridge fdb show dev vxlan0
707 bridge fdb show dev vxlan0 | grep $mac | grep -q self
710 bridge fdb show dev vxlan0
713 bridge fdb show dev vxlan0 | grep $zmac | grep -q self
716 bridge fdb show dev vxlan0
725 bridge fdb show dev vxlan0 | grep $mac | grep -q master
728 bridge fdb show dev vxlan0
739 bridge fdb append $zmac dev vxlan0 self dst $LOCAL_IP_2
742 bridge fdb add dev vxlan0 $mac self master static dst $LOCAL_IP_2
765 bridge vlan del dev vxlan0 vid $vid
771 bridge vlan add dev vxlan0 vid $vid
777 bridge vlan add dev vxlan0 vid $vid pvid untagged
791 ip link add dev br0 type bridge mcast_snooping 0
809 bridge fdb append $zmac dev vxlan0 self dst $LOCAL_IP_2
814 bridge fdb show dev vxlan0
820 bridge fdb show dev vxlan0
828 ip link add dev br0 type bridge mcast_snooping 0
856 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
866 # a port to the bridge
867 bridge vlan add vid 10 dev vxlan10 pvid untagged
868 bridge vlan add vid 20 dev vxlan20 pvid untagged
873 log_test "vlan-aware - enslavement to vlan-aware bridge"
879 bridge vlan add vid 10 dev vxlan20 pvid untagged &> /dev/null
884 # Test that enslavement of a port to a bridge fails when two VNIs
890 bridge vlan del vid 20 dev vxlan20 pvid untagged
891 bridge vlan add vid 10 dev vxlan20 pvid untagged
896 log_test "vlan-aware - failed enslavement to vlan-aware bridge"
898 bridge vlan del vid 10 dev vxlan20
899 bridge vlan add vid 20 dev vxlan20 pvid untagged
902 # (i.e., different TTL) are enslaved to the same VLAN-aware bridge,
903 # then the enslavement of a port to the bridge is denied.
917 log_test "vlan-aware - failed enslavement to bridge due to conflict"
930 # bridge
931 ip link add name br0 type bridge mcast_snooping 0 vlan_filtering 1 \
938 bridge vlan add vid 10 dev $swp1
939 bridge vlan add vid 20 dev $swp1
948 bridge vlan add vid 10 dev vxlan10 pvid untagged
949 bridge vlan add vid 20 dev vxlan20 pvid untagged
954 bridge vlan del vid 20 dev vxlan20
955 bridge vlan del vid 10 dev vxlan10
962 bridge vlan del vid 20 dev $swp1
963 bridge vlan del vid 10 dev $swp1
976 bridge fdb add de:ad:be:ef:13:37 dev vxlan10 self master static \
980 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
983 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
988 # Remove FDB entry from the bridge driver and check that corresponding
992 bridge fdb del de:ad:be:ef:13:37 dev vxlan10 master vlan 10
994 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
997 log_test "vxlan entry offload indication - after removal from bridge"
999 # Add the FDB entry back to the bridge driver and make sure it is
1003 bridge fdb add de:ad:be:ef:13:37 dev vxlan10 master static vlan 10
1005 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
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"
1014 # entry in the bridge driver is not marked as offloaded
1017 bridge fdb del de:ad:be:ef:13:37 dev vxlan10 self
1019 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1028 bridge fdb add de:ad:be:ef:13:37 dev vxlan10 self dst $LOCAL_IP_2
1030 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
1033 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1038 bridge fdb del de:ad:be:ef:13:37 dev vxlan10 self master vlan 10
1051 bridge vlan add vid 10 dev vxlan10 untagged
1059 bridge vlan add vid 20 dev vxlan20 untagged
1066 bridge vlan add vid 10 dev vxlan10 pvid untagged
1067 bridge vlan add vid 20 dev vxlan20 pvid untagged
1078 ip link add dev br0 type bridge mcast_snooping 0 \
1093 ip link add dev br0 type bridge mcast_snooping 0 \
1113 ip link add dev br0 type bridge mcast_snooping 0 \
1124 bridge fdb append $zmac dev vxlan0 self dst $LOCAL_IP_2
1127 bridge vlan add dev vxlan0 vid 10 pvid untagged
1130 bridge fdb show brport vxlan0
1138 bridge fdb show brport vxlan0
1142 # then add it back to the bridge and make sure it is offloaded
1145 bridge fdb show brport vxlan0
1146 check_err $? "vxlan tunnel offloaded after unlinked from bridge"
1150 bridge fdb show brport vxlan0
1153 bridge vlan add dev vxlan0 vid 10 pvid untagged
1155 bridge fdb show brport vxlan0