Home
last modified time | relevance | path

Searched refs:br0 (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dbridge_mdb.sh67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \
69 bridge vlan add vid 10 dev br0 self
70 bridge vlan add vid 20 dev br0 self
71 ip link set dev br0 up
73 ip link set dev $swp1 master br0
78 ip link set dev $swp2 master br0
83 tc qdisc add dev br0 clsact
90 tc qdisc del dev br0 clsact
102 ip link set dev br0 down
103 bridge vlan del vid 20 dev br0 self
[all …]
Dbridge_mld.sh89 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
93 ip link set dev $swp1 master br0
94 ip link set dev $swp2 master br0
96 ip link set dev br0 up
109 ip link del dev br0
145 ip link set dev br0 type bridge mcast_mld_version 2
150 bridge -j -d -s mdb show dev br0 \
154 bridge -j -d -s mdb show dev br0 \
175 bridge -j -d -s mdb show dev br0 \
186 bridge -j -d -s mdb show dev br0 \
[all …]
Dbridge_vlan_mcast.sh40 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1
42 ip link set dev $swp1 master br0
43 ip link set dev $swp2 master br0
45 ip link set dev br0 up
55 ip link set dev br0 type bridge mcast_vlan_snooping 1
68 ip link del dev br0
108 bridge -j mdb show dev br0 |
120 bridge -j mdb show dev br0 |
144 bridge vlan global set vid 10 dev br0 mcast_snooping 0
176 ip link set dev br0 type bridge mcast_stats_enabled 1
[all …]
Dbridge_igmp.sh59 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
61 ip link set dev $swp1 master br0
62 ip link set dev $swp2 master br0
64 ip link set dev br0 up
74 ip link del dev br0
112 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
121 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
128 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
144 ip link set dev br0 type bridge mcast_igmp_version 3
149 bridge -j -d -s mdb show dev br0 \
[all …]
Dbridge_mdb_host.sh29 ip link add dev br0 type bridge mcast_snooping 1
31 ip link set dev $swp1 master br0
33 ip link set dev br0 up
40 ip link del dev br0
70 bridge mdb add dev br0 port br0 grp $group $flag 2>/dev/null
77 bridge mdb show dev br0 | grep $group | grep -q $flag 2>/dev/null
80 bridge mdb del dev br0 port br0 grp $group 2>/dev/null
83 bridge mdb show dev br0 | grep -q $group >/dev/null
Dbridge_fdb_learning_limit.sh36 ip link add dev br0 type bridge
38 ip link set dev "$swp1" master br0
39 ip link set dev "$swp2" master br0
45 ip link set dev br0 up
58 ip link del dev br0
105 ip -d -j link show dev br0 type bridge | \
113 bridge -j fdb show br br0 | \
128 bridge fdb flush dev br0
149 ip link set dev "$swp3" addr "$mac" && ip link set "$swp3" master br0
188 ip link add dev br0 type bridge
[all …]
Dbridge_mdb_port_down.sh20 bridge mdb add dev br0 port "$swp2" grp $TEST_GROUP permanent 2>/dev/null
29 bridge mdb show dev br0 | grep -q "$TEST_GROUP permanent" 2>/dev/null
32 bridge mdb del dev br0 port "$swp2" grp $TEST_GROUP 2>/dev/null
66 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
68 ip link set dev $swp1 master br0
69 ip link set dev $swp2 master br0
71 ip link set dev br0 up
85 ip link del dev br0
Dbridge_locked_port.sh45 ip link add dev br0 type bridge vlan_filtering 1
47 ip link set dev $swp1 master br0
48 ip link set dev $swp2 master br0
52 ip link set dev br0 up
62 ip link del dev br0
192 bridge fdb get `mac_get $h1` br br0 vlan 1 &> /dev/null
200 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
208 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
229 bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
233 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2"
[all …]
Dlocal_termination.sh395 ip link add br0 type bridge vlan_filtering $vlan_filtering
396 ip link set br0 address $BRIDGE_ADDR
397 ip link set br0 up
399 ip link set $h2 master br0
405 ip link del br0
450 simple_if_init br0 $H2_IPV4/24 $H2_IPV6/64
451 macvlan_create br0
453 run_test $h1 br0 $skip_ptp $no_unicast_flt \
457 simple_if_fini br0 $H2_IPV4/24 $H2_IPV6/64
537 simple_if_init br0
[all …]
Dbridge_sticky_fdb.sh11 ip link add dev br0 type bridge
13 ip link set dev $swp1 master br0
14 ip link set dev $swp2 master br0
16 ip link set dev br0 up
30 ip link del dev br0
55 bridge -j fdb show br br0 brport $swp1\
Dbridge_vlan_unaware.sh30 ip link add dev br0 type bridge \
34 ip link set dev $swp1 master br0
35 ip link set dev $swp2 master br0
37 ip link set dev br0 up
47 ip link del dev br0
Dno_forwarding.sh186 ip link add br0 type bridge && ip link set br0 up
188 ip link set $swp1 master br0
194 ip link del br0
199 ip link add br0 type bridge vlan_filtering 1 vlan_default_pvid 0
200 ip link set br0 up
201 ip link set $swp1 master br0
202 ip link set $swp2 master br0
209 ip link del br0
Dbridge_port_isolation.sh41 ip link add dev br0 type bridge
43 ip link set dev $swp1 master br0
44 ip link set dev $swp2 master br0
45 ip link set dev $swp3 master br0
54 ip link set dev br0 up
66 ip link del dev br0
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
Dq_in_q_veto.sh49 ip link add dev br0 type bridge vlan_filtering 1 \
51 ip link set dev br0 addrgenmode none
53 ip link set dev br0 up
54 ip link set dev $swp1 master br0
56 ip link add name br0.100 link br0 type vlan \
60 ip link add name br0.100 link br0 type vlan \
67 ip link del dev br0
90 ip link add dev br0 type bridge vlan_filtering 1 \
92 ip link set dev br0 addrgenmode none
94 ip link set dev $swp1 master br0
[all …]
Dvxlan.sh59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
74 ip link set dev vxlan0 master br0 &> /dev/null
79 ip link set dev vxlan0 master br0
81 ip link set dev $swp1 master br0 &> /dev/null
89 ip link add dev br0 type bridge mcast_snooping 0
97 ip link del dev br0
106 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
[all …]
Dingress_rif_conf_1q.sh97 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
103 sysctl_set net.ipv6.conf.br0.addr_gen_mode 1
104 ip link set dev br0 up
107 ip link set dev $swp2 master br0
129 ip link set dev br0 down
130 sysctl_restore net.ipv6.conf.br0.addr_gen_mode
131 ip link del dev br0
174 vlan_create br0 10 "" 192.0.2.2/28
187 vlan_destroy br0 10
196 bridge vlan add vid 10 dev br0 self
[all …]
Drtnetlink.sh126 ip link add name br0 type bridge vlan_filtering 1
127 ip link set dev $swp1 master br0
129 ip link add link br0 name br0.10 type vlan id 10
130 ip -6 address add 2001:db8:1::1/64 dev br0.10
131 ip link del dev br0.10
134 ip link add link br0 name br0.20 type vlan id 20
135 ip -6 address add 2001:db8:1::1/64 dev br0.20
136 ip link del dev br0.20
140 ip link del dev br0
151 ip link add name br0 type bridge vlan_filtering 1
[all …]
Degress_vid_classification.sh104 ip link add dev br0 type bridge mcast_snooping 0
110 sysctl_set net.ipv6.conf.br0.addr_gen_mode 1
111 ip link set dev br0 up
115 ip link set dev $swp2.10 master br0
134 ip link set dev br0 down
135 sysctl_restore net.ipv6.conf.br0.addr_gen_mode
136 ip link del dev br0
180 __addr_add_del br0 add 192.0.2.2/28
193 __addr_add_del br0 del 192.0.2.2/28
203 ip link set dev $swp1.10 master br0
[all …]
Dingress_rif_conf_1d.sh102 ip link add dev br0 type bridge mcast_snooping 0
108 sysctl_set net.ipv6.conf.br0.addr_gen_mode 1
109 ip link set dev br0 up
113 ip link set dev $swp2.10 master br0
134 ip link set dev br0 down
135 sysctl_restore net.ipv6.conf.br0.addr_gen_mode
136 ip link del dev br0
179 __addr_add_del br0 add 192.0.2.2/28
192 __addr_add_del br0 del 192.0.2.2/28
202 ip link set dev $swp1.10 master br0
[all …]
Dvxlan_flooding.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
68 ip link set dev $swp1 master br0
69 ip link set dev vxlan0 master br0
71 ip link set dev br0 up
80 ip link set dev br0 down
89 ip link del dev br0
177 tc qdisc add dev br0 clsact
178 tc filter add dev br0 egress protocol all pref 1 handle 1 \
212 tc filter del dev br0 egress protocol all pref 1 handle 1 matchall
[all …]
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw_switchdev.rst66 ip link add name br0 type bridge
67 ip link set dev br0 type bridge vlan_filtering 0
68 echo 0 > /sys/class/net/br0/bridge/default_pvid
69 ip link set dev sw0p1 master br0
70 ip link set dev sw0p2 master br0
74 ip link add name br0 type bridge
75 ip link set dev br0 type bridge vlan_filtering 0
76 echo 100 > /sys/class/net/br0/bridge/default_pvid
77 ip link set dev br0 type bridge vlan_filtering 1
78 ip link set dev sw0p1 master br0
[all …]
Dam65_nuss_cpsw_switchdev.rst58 ip link add name br0 type bridge
59 ip link set dev br0 type bridge ageing_time 1000
62 ip link set dev sw0p1 master br0
63 ip link set dev sw0p2 master br0
65 [*] bridge vlan add dev br0 vid 1 pvid untagged self
84 bridge vlan add dev br0 vid 1 pvid untagged self <---- add cpu port to VLAN 1
95 bridge vlan add dev br0 vid 100 pvid untagged self <---- Add cpu port to VLAN100
101 bridge vlan add dev br0 vid 100 pvid tagged self <---- Add cpu port to VLAN100
120 bridge mdb add dev br0 port sw0p1 grp 239.1.1.1 permanent vid 100
121 bridge mdb add dev br0 port sw0p1 grp 239.1.1.1 permanent <---- Add on all VLANs
[all …]
/linux-6.12.1/Documentation/networking/dsa/
Db53.rst83 ip link add name br0 type bridge
86 ip link set dev br0 type bridge vlan_filtering 1
89 ip link set dev wan master br0
90 ip link set dev lan1 master br0
91 ip link set dev lan2 master br0
105 ip link set br0 up
126 ip link add name br0 type bridge
129 ip link set dev br0 type bridge vlan_filtering 1
132 ip link set dev wan master br0
133 ip link set dev lan1 master br0
[all …]
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dq_in_vni_veto.sh35 ip link add dev br0 type bridge vlan_filtering 1 vlan_protocol 802.1ad \
37 ip link set dev br0 addrgenmode none
38 ip link set dev br0 up
44 ip link set dev $swp1 master br0
45 ip link set dev vx100 master br0
57 ip link del dev br0
/linux-6.12.1/tools/testing/selftests/drivers/net/bonding/
Dbond-lladdr-target.sh52 ip -n $sw link add br0 type bridge
53 ip -n $sw link set br0 up
54 sw_lladdr=$(ip -n $sw addr show br0 | awk '/fe80/{print $2}' | cut -d'/' -f1)
56 slowwait 2 wait_lladdr_dad ip -n $sw addr show br0
66 ip -n $sw link set veth0 master br0
67 ip -n $sw link set veth1 master br0

123