Lines Matching full:bridge

64 	ip link add dev br0 type bridge mcast_snooping 0
81 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
91 log_test "vxlan device with a vlan-aware bridge"
98 ip link add dev br0 type bridge
108 log_test "vxlan device with a multicast enabled bridge"
115 ip link add dev br0 type bridge mcast_snooping 0
135 ip link add dev br0 type bridge mcast_snooping 0
152 ip link add dev br0 type bridge mcast_snooping 0
169 ip link add dev br0 type bridge mcast_snooping 0
186 ip link add dev br0 type bridge mcast_snooping 0
205 ip link add dev br0 type bridge mcast_snooping 0
223 ip link add dev br0 type bridge mcast_snooping 0
240 ip link add dev br0 type bridge mcast_snooping 0
257 ip link add dev br0 type bridge mcast_snooping 0
334 ip link add dev br0 type bridge mcast_snooping 0
335 ip link add dev br1 type bridge mcast_snooping 0
356 ip link add dev br0 type bridge mcast_snooping 0
357 ip link add dev br1 type bridge mcast_snooping 0
378 ip link add dev br0 type bridge mcast_snooping 0
379 ip link add dev br1 type bridge mcast_snooping 0
400 ip link add dev br0 type bridge mcast_snooping 0
401 ip link add dev br1 type bridge mcast_snooping 0
440 ip link add name br0 up type bridge mcast_snooping 0
441 ip link add name br1 up type bridge mcast_snooping 0
472 bridge fdb append 00:00:00:00:00:00 dev vxlan0 self dst 198.51.100.2
475 bridge fdb show brport vxlan0
478 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self
487 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self master static \
491 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
494 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
499 # Remove FDB entry from the bridge driver and check that corresponding
503 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 master
505 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
508 log_test "vxlan entry offload indication - after removal from bridge"
510 # Add the FDB entry back to the bridge driver and make sure it is
514 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 master static
516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
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"
525 # entry in the bridge driver is not marked as offloaded
528 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 self
530 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
539 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self dst 198.51.100.2
541 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
544 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
549 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 self master
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
676 bridge fdb show dev vxlan0
679 bridge fdb show dev vxlan0
683 bridge fdb show dev vxlan0
692 bridge fdb show dev vxlan0 | grep $mac | grep -q self
695 bridge fdb show dev vxlan0
698 bridge fdb show dev vxlan0 | grep $zmac | grep -q self
701 bridge fdb show dev vxlan0
710 bridge fdb show dev vxlan0 | grep $mac | grep -q master
713 bridge fdb show dev vxlan0
724 bridge fdb append $zmac dev vxlan0 self dst 198.51.100.2
727 bridge fdb add dev vxlan0 $mac self master static dst 198.51.100.2
750 bridge vlan del dev vxlan0 vid $vid
756 bridge vlan add dev vxlan0 vid $vid
762 bridge vlan add dev vxlan0 vid $vid pvid untagged
776 ip link add dev br0 up type bridge mcast_snooping 0
792 bridge fdb append $zmac dev vxlan0 self dst 198.51.100.2
797 bridge fdb show dev vxlan0
803 bridge fdb show dev vxlan0
811 ip link add dev br0 up type bridge mcast_snooping 0
837 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
846 # a port to the bridge
847 bridge vlan add vid 10 dev vxlan10 pvid untagged
848 bridge vlan add vid 20 dev vxlan20 pvid untagged
853 log_test "vlan-aware - enslavement to vlan-aware bridge"
859 bridge vlan add vid 10 dev vxlan20 pvid untagged &> /dev/null
864 # Test that enslavement of a port to a bridge fails when two VNIs
870 bridge vlan del vid 20 dev vxlan20 pvid untagged
871 bridge vlan add vid 10 dev vxlan20 pvid untagged
876 log_test "vlan-aware - failed enslavement to vlan-aware bridge"
878 bridge vlan del vid 10 dev vxlan20
879 bridge vlan add vid 20 dev vxlan20 pvid untagged
882 # (i.e., different TTL) are enslaved to the same VLAN-aware bridge,
883 # then the enslavement of a port to the bridge is denied.
897 log_test "vlan-aware - failed enslavement to bridge due to conflict"
910 # bridge
911 ip link add name br0 up type bridge mcast_snooping 0 vlan_filtering 1 \
916 bridge vlan add vid 10 dev $swp1
917 bridge vlan add vid 20 dev $swp1
926 bridge vlan add vid 10 dev vxlan10 pvid untagged
927 bridge vlan add vid 20 dev vxlan20 pvid untagged
932 bridge vlan del vid 20 dev vxlan20
933 bridge vlan del vid 10 dev vxlan10
940 bridge vlan del vid 20 dev $swp1
941 bridge vlan del vid 10 dev $swp1
954 bridge fdb add de:ad:be:ef:13:37 dev vxlan10 self master static \
958 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
961 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
966 # Remove FDB entry from the bridge driver and check that corresponding
970 bridge fdb del de:ad:be:ef:13:37 dev vxlan10 master vlan 10
972 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
975 log_test "vxlan entry offload indication - after removal from bridge"
977 # Add the FDB entry back to the bridge driver and make sure it is
981 bridge fdb add de:ad:be:ef:13:37 dev vxlan10 master static vlan 10
983 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
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"
992 # entry in the bridge driver is not marked as offloaded
995 bridge fdb del de:ad:be:ef:13:37 dev vxlan10 self
997 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1006 bridge fdb add de:ad:be:ef:13:37 dev vxlan10 self dst 198.51.100.2
1008 de:ad:be:ef:13:37 self bridge fdb show brport vxlan10
1011 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan10
1016 bridge fdb del de:ad:be:ef:13:37 dev vxlan10 self master vlan 10
1029 bridge vlan add vid 10 dev vxlan10 untagged
1037 bridge vlan add vid 20 dev vxlan20 untagged
1044 bridge vlan add vid 10 dev vxlan10 pvid untagged
1045 bridge vlan add vid 20 dev vxlan20 pvid untagged
1055 ip link add dev br0 up type bridge mcast_snooping 0 \
1068 ip link add dev br0 up type bridge mcast_snooping 0 \
1086 ip link add dev br0 up type bridge mcast_snooping 0 \
1095 bridge fdb append $zmac dev vxlan0 self dst 192.0.2.1
1098 bridge vlan add dev vxlan0 vid 10 pvid untagged
1101 bridge fdb show brport vxlan0
1109 bridge fdb show brport vxlan0
1113 # then add it back to the bridge and make sure it is offloaded
1116 bridge fdb show brport vxlan0
1117 check_err $? "vxlan tunnel offloaded after unlinked from bridge"
1121 bridge fdb show brport vxlan0
1124 bridge vlan add dev vxlan0 vid 10 pvid untagged
1126 bridge fdb show brport vxlan0