Lines Matching +full:master +full:- +full:kernel
1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
30 at https://www.kernel.org/pub/linux/utils/net/iproute2/
38 to send or receive traffic. Prior to kernel v5.12, the state of the conduit
39 interface had to be managed explicitly by the user. Starting with kernel v5.12,
42 - when a DSA user interface is brought up, the conduit interface is
44 - when the conduit interface is brought down, all DSA user interfaces are
71 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
72 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7)
73 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11)
76 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
79 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
80 * wan: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
82 .. _dsa-tagged-configuration:
85 ----------------------------------
92 .. code-block:: sh
109 .. code-block:: sh
124 ip link set dev lan1 master br0
125 ip link set dev lan2 master br0
126 ip link set dev lan3 master br0
135 .. code-block:: sh
153 ip link set dev lan1 master br0
154 ip link set dev lan2 master br0
162 .. _dsa-vlan-configuration:
165 -------------------------------------
174 .. code-block:: sh
200 ip link set dev lan1 master br0
201 ip link set dev lan2 master br0
202 ip link set dev lan3 master br0
219 .. code-block:: sh
241 ip link set dev lan1 master br0
242 ip link set dev lan2 master br0
243 ip link set dev lan3 master br0
244 ip link set eth0.1 master br0
258 .. code-block:: sh
282 ip link set dev wan master br0
283 ip link set eth0.1 master br0
284 ip link set dev lan1 master br0
285 ip link set dev lan2 master br0
300 ------------------------------------
305 on whether the ``self`` or ``master`` flags are being used, a ``bridge fdb
308 Up until kernel v4.14, DSA only supported user space management of bridge FDB
313 .. code-block:: sh
325 .. code-block:: sh
340 Between kernel v4.14 and v5.14, DSA has supported in parallel two modes of
342 well as a new mode using the ``master`` flag which installs FDB entries in the
345 .. code-block:: sh
347 bridge fdb add dev swp0 00:01:02:03:04:05 master static
349 Since kernel v5.14, DSA has gained stronger integration with the bridge's
353 .. code-block:: sh
357 bridge fdb add dev swp0 00:01:02:03:04:05 master static
364 Script writers are therefore encouraged to use the ``master static`` set of
368 -----------------------------------
391 and DSA conduit will be used - the numerically first port from the firmware
404 .. code-block:: sh
407 ip -d link show dev swp0
409 dsa master eth0
412 ip link set swp0 type dsa master eth1
413 ip link set swp1 type dsa master eth0
414 ip link set swp2 type dsa master eth1
415 ip link set swp3 type dsa master eth0
418 ip link add bond0 type bond mode balance-xor && ip link set bond0 up
419 ip link set eth1 down && ip link set eth1 master bond0
420 ip link set swp0 type dsa master bond0
421 ip link set swp1 type dsa master bond0
422 ip link set swp2 type dsa master bond0
423 ip link set swp3 type dsa master bond0
424 ip link set eth0 down && ip link set eth0 master bond0
425 ip -d link show dev swp0
427 dsa master bond0
430 ip link add bond0 type bond mode balance-xor && ip link set bond0 up
431 ip link set eth0 down && ip link set eth0 master bond0
432 ip link set eth1 down && ip link set eth1 master bond0
433 ip -d link show dev swp0
435 dsa master bond0
449 upper interfaces (this includes LAG devices - the conduit must always be the LAG