Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh209 ip link add name br0 type bridge vlan_filtering 1
210 ip link set dev $swp1 master br0
212 ip link add link br0 name br0.10 type vlan id 10
213 ip -6 address add 2001:db8:1::1/64 dev br0.10
214 ip link del dev br0.10
217 ip link add link br0 name br0.20 type vlan id 20
218 ip -6 address add 2001:db8:1::1/64 dev br0.20
219 ip link del dev br0.20
223 ip link del dev br0
234 ip link add name br0 type bridge vlan_filtering 1
[all …]
Dvxlan.sh34 ip link set dev $swp1 master br0
36 ip link set dev vxlan0 master br0
41 ip link set dev $swp1 master br0
47 ip link set dev $swp1 master br0
49 ip link set dev vxlan0 master br0 &> /dev/null
54 ip link set dev vxlan0 master br0
56 ip link set dev $swp1 master br0 &> /dev/null
64 ip link add dev br0 type bridge mcast_snooping 0
72 ip link del dev br0
81 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
[all …]
Done_armed_router.sh86 ip link add name br0 type bridge mcast_snooping 0
87 ip link set dev br0 up
89 ip link set dev $swp1 master br0
91 ip link set dev $swp2 master br0
97 __addr_add_del br0 add 192.0.2.2/24 2001:db8:1::2/64
98 __addr_add_del br0 add 198.51.100.2/24 2001:db8:2::2/64
103 __addr_add_del br0 del 198.51.100.2/24 2001:db8:2::2/64
104 __addr_add_del br0 del 192.0.2.2/24 2001:db8:1::2/64
114 ip link set dev br0 down
115 ip link del dev br0
Ddevlink_trap.sh40 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
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 del dev br0
Ddevlink_trap_acl_drops.sh39 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
41 ip link set dev $swp1 master br0
42 ip link set dev $swp2 master br0
44 ip link set dev br0 up
60 ip link del dev br0
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
Ddevlink_trap_l3_drops.sh568 ip link add dev br0 type bridge
569 ip link set dev $rp1 master br0
571 __addr_add_del br0 add 192.0.2.2/24
572 ip li set dev br0 up
586 ip address flush dev br0
600 ip link del dev br0 type bridge
616 ip link add dev br0 type bridge
618 ip link set dev $rp1 master br0
619 __addr_add_del br0 add 192.0.2.2/24
620 ip link set dev br0 up
[all …]
Dvxlan_fdb_veto.sh23 ip link add dev br0 type bridge mcast_snooping 0
26 ip link set dev $swp1 master br0
31 ip link set dev vxlan0 master br0
45 ip link del dev br0
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Dconfiguration.rst66 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
69 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
113 ip link add name br0 type bridge
116 ip link set dev lan1 master br0
117 ip link set dev lan2 master br0
118 ip link set dev lan3 master br0
121 ip addr add 192.0.2.129/25 dev br0
124 ip link set dev br0 up
143 ip link add name br0 type bridge
146 ip link set dev lan1 master br0
[all …]
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dbridge_igmp.sh33 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
35 ip link set dev $swp1 master br0
36 ip link set dev $swp2 master br0
38 ip link set dev br0 up
48 ip link del dev br0
120 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
129 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
136 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
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.sh31 ip link add dev br0 type bridge ageing_time 1000 mcast_snooping 0
33 ip link set dev $swp1 master br0
34 ip link set dev $swp2 master br0
36 ip link set dev br0 up
46 ip link del dev 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
Dbridge_vlan_aware.sh32 ip link add dev br0 type bridge vlan_filtering 1 ageing_time 1000 \
35 ip link set dev $swp1 master br0
36 ip link set dev $swp2 master br0
38 ip link set dev br0 up
48 ip link del dev br0
127 ageing_time=$(bridge_ageing_time_get br0)
Dtc_vlan_modify.sh39 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
41 ip link set dev $swp1 master br0
42 ip link set dev $swp2 master br0
44 ip link set dev br0 up
72 ip link del dev br0
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dvrf_route_leaking.sh328 ip -netns h1 link add br0 type bridge
329 ip -netns h1 link set br0 up
330 ip -netns h1 addr add dev br0 ${H1_N1_IP}/24
331 ip -netns h1 -6 addr add dev br0 ${H1_N1_IP6}/64 nodad
332 ip -netns h1 link set eth0 master br0 up
333 ip -netns h1 link set eth1 master br0 up
336 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev br0
337 ip -netns h1 -6 route add ${H2_N2_6} via "${R1_N1_IP6}" dev br0
342 ip -netns h2 link add br0 type bridge
343 ip -netns h2 link set br0 up
[all …]
Dicmp_redirect.sh219 ip -netns h1 li add br0 type bridge
221 ip -netns h1 li set br0 vrf ${VRF} up
223 ip -netns h1 li set br0 up
225 ip -netns h1 addr add dev br0 ${H1_N1_IP}/24
226 ip -netns h1 -6 addr add dev br0 ${H1_N1_IP6}/64 nodad
227 ip -netns h1 li set eth0 master br0 up
228 ip -netns h1 li set eth1 master br0 up
362 run_cmd ip -netns h1 nexthop add id 1 via ${R1_N1_IP} dev br0
365 run_cmd ip -netns h1 nexthop add id 2 via ${R1_LLADDR} dev br0
395 run_cmd ip -netns h1 ro add ${H1_VRF_ARG} ${H2_N2} via ${R1_N1_IP} dev br0
[all …]
Dtest_vxlan_under_vrf.sh78 ip -netns hv-$hv link add br0 type bridge
79 ip -netns hv-$hv link set br0 up
82 ip -netns hv-$hv link set vxlan0 master br0
101 ip -netns hv-$id link set veth-tap master br0
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
Dp1022_ds.c174 u32 br0, or0, br1, or1; in p1022ds_set_monitor_port() local
233 br0 = in_be32(&lbc->bank[0].br); in p1022ds_set_monitor_port()
239 if (!(br0 & BR_V) || !(br1 & BR_V)) { in p1022ds_set_monitor_port()
249 if ((br0 & BR_MSEL) != BR_MS_GPCM) { in p1022ds_set_monitor_port()
250 br0 = (br0 & BR_BA) | BR_V; in p1022ds_set_monitor_port()
252 out_be32(&lbc->bank[0].br, br0); in p1022ds_set_monitor_port()
262 cs0_addr = lbc_br_to_phys(ecm, num_laws, br0); in p1022ds_set_monitor_port()
265 " (BR0=%08x)\n", br0); in p1022ds_set_monitor_port()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh161 ip link add br0 type bridge
162 ip link set $eth0 master br0
163 ip link set $eth1 master br0
164 ip link set br0 up
197 ip link del br0
249 ip link set br0 type bridge vlan_filtering 1
280 ip link set br0 type bridge vlan_filtering 0
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dbridge_brouter.sh41 ip -net ns0 link add br0 type bridge
47 ip -net ns0 link set veth0 master br0
48 ip -net ns0 link set veth1 master br0
49 ip -net ns0 link set br0 up
50 ip -net ns0 addr add 10.0.0.1/24 dev br0
Dipvs.sh79 ip netns exec ns0 ip link add br0 type bridge
80 ip netns exec ns0 ip link set veth01 master br0
81 ip netns exec ns0 ip link set veth02 master br0
82 ip netns exec ns0 ip link set br0 up
83 ip netns exec ns0 ip addr add ${cip_v4}/24 dev br0
139 ip netns exec ns0 ip route add ${vip_v4} via ${gip_v4} dev br0
158 ip netns exec ns0 ip route add ${vip_v4} via ${gip_v4} dev br0
172 ip netns exec ns0 ip route add ${vip_v4} via ${gip_v4} dev br0
/kernel/linux/linux-5.10/samples/bpf/
Dtest_ipip.sh29 ip link add br0 type bridge
30 ip link set br0 up
31 ip link set dev br0 mtu 1500
32 ip link set veth0b master br0
33 ip link set veth1b master br0
34 ip link set veth2b master br0
168 ip link del br0

12