Lines Matching +full:slave +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/
35 All other corresponding linux interfaces are called slave interfaces.
37 The slave interfaces depend on the master interface being up in order for them
38 to send or receive traffic. Prior to kernel v5.12, the state of the master
39 interface had to be managed explicitly by the user. Starting with kernel v5.12,
42 - when a DSA slave interface is brought up, the master interface is
44 - when the master interface is brought down, all DSA slave interfaces are
56 a slave interface
59 another slave interface
62 a third slave interface
65 A slave interface dedicated for upstream traffic
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
100 # brought up manually before the slave ports.
103 # bring up the slave interfaces
109 .. code-block:: sh
112 # brought up manually before the slave ports.
115 # bring up the slave interfaces
135 .. code-block:: sh
138 # brought up manually before the slave ports.
141 # bring up the slave interfaces
162 .. _dsa-vlan-configuration:
165 -------------------------------------
174 .. code-block:: sh
182 # brought up manually before the slave ports.
188 # bring up the slave interfaces
219 .. code-block:: sh
225 # brought up manually before the slave ports.
229 # bring up the slave interfaces
258 .. code-block:: sh
265 # brought up manually before the slave ports.
270 # bring up the slave interfaces
300 ------------------------------------
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
345 .. code-block:: sh
349 Since kernel v5.14, DSA has gained stronger integration with the bridge's
353 .. code-block:: sh
368 -----------------------------------
385 on the CPU ports facing the physical DSA masters that constitute the LAG slave
391 and DSA master will be used - the numerically first port from the firmware
397 attribute contains the ifindex of the master device that handles each slave
404 .. code-block:: sh
407 ip -d link show dev swp0
418 ip link add bond0 type bond mode balance-xor && ip link set bond0 up
425 ip -d link show dev swp0
430 ip link add bond0 type bond mode balance-xor && ip link set bond0 up
433 ip -d link show dev swp0
449 upper interfaces (this includes LAG devices - the master must always be the LAG
458 as a slave device.