Home
last modified time | relevance | path

Searched full:dsa (Results 1 – 25 of 167) sorted by relevance

1234567

/Linux-v5.4/Documentation/networking/dsa/
Ddsa.rst5 This document describes the **Distributed Switch Architecture (DSA)** subsystem
23 or more CPU or management port. The DSA subsystem currently relies on the
28 be later referred to as "master" and "cpu" in DSA terminology and code.
30 The D in DSA stands for Distributed, because the subsystem has been designed
33 ports are referred to as "dsa" ports in DSA terminology and code. A collection
36 For each front-panel port, DSA will create specialized network devices which are
39 interfaces in DSA terminology and code.
41 The ideal case for using DSA is when an Ethernet switch supports a "switch tag"
54 Note that DSA does not currently create network interfaces for the "cpu" and
55 "dsa" ports because:
[all …]
Dbcm_sf2.rst41 The driver is located in ``drivers/net/dsa/bcm_sf2.c`` and is implemented as a DSA
42 driver; see ``Documentation/networking/dsa/dsa.rst`` for details on the subsystem
49 ``net/dsa/tag_brcm.c``.
51 Overall, the SF2 driver is a fairly regular DSA driver; there are a few
57 The DSA platform device driver is probed using a specific compatible string
58 provided in ``net/dsa/dsa.c``. The reason for that is because the DSA subsystem gets
59 registered as a platform device driver currently. DSA will provide the needed
70 Broadcom switches connected to a SF2 require the use of the DSA slave MDIO bus
74 "double" programming. Using DSA, and setting ``ds->phys_mii_mask`` accordingly, we
Db53.rst16 The driver is located in ``drivers/net/dsa/b53/`` and is implemented as a
17 DSA driver; see ``Documentation/networking/dsa/dsa.rst`` for details on the
24 ``net/dsa/tag_brcm.c``.
30 configuration described in the :ref:`dsa-config-showcases`.
36 DSA driver and will work like all DSA drivers which supports tagging.
38 See :ref:`dsa-tagged-configuration`.
48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`.
54 In difference to the configuration described in :ref:`dsa-vlan-configuration`
Dlan9303.rst13 The driver is implemented as a DSA driver, see ``Documentation/networking/dsa/dsa.rst``.
15 See ``Documentation/devicetree/bindings/net/dsa/lan9303.txt`` for device tree
21 interfaces (which is the default state of a DSA device). Due to HW limitations,
Dconfiguration.rst4 DSA switch configuration from userspace
7 The DSA switch configuration is not integrated into the main userspace
15 To configure a DSA switch a couple of commands need to be executed. In this
32 Through DSA every port of a switch is handled like a normal linux Ethernet
78 DSA switches. These switches are capable to tag incoming and outgoing traffic
/Linux-v5.4/scripts/coccinelle/api/debugfs/
Ddebugfs_simple_attr.cocci18 @dsa@
28 identifier dsa.dsa_fops;
35 identifier dsa.dsa_fops;
36 expression dsa.dsa_get, dsa.dsa_set, dsa.dsa_fmt;
43 identifier dsa.dsa_fops;
49 identifier dsa.dsa_fops;
50 expression dsa.dsa_get, dsa.dsa_set, dsa.dsa_fmt;
57 fops << dsa.dsa_fops;
58 p << dsa.p;
64 fops << dsa.dsa_fops;
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/net/
Dbrcm,bcm7445-switch-v4.0.txt12 - #address-cells: must be 1, see dsa/dsa.txt
13 - #size-cells: must be 0, see dsa/dsa.txt
17 - dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt
18 - dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt
19 - #address-cells: must be 2, see dsa/dsa.txt
24 described in dsa/dsa.txt.
93 Example using the old DSA DeviceTree binding:
Dhisilicon-hns-dsaf.txt1 Hisilicon DSA Fabric device controller
7 - mode: dsa fabric mode string. only support one of dsaf modes like these:
12 - interrupts: should contain the DSA Fabric and rcb interrupt.
21 The fourth region is dsa fabric base register and size. It is not required for
58 dsaf0: dsa@c7000000 {
/Linux-v5.4/net/dsa/
Dtag_dsa.c3 * net/dsa/tag_dsa.c - (Non-ethertype) DSA tagging
21 * Convert the outermost 802.1q tag to a DSA tag for tagged in dsa_xmit()
22 * packets, or insert a DSA tag between the addresses and in dsa_xmit()
30 * Construct tagged FROM_CPU DSA tag from 802.1q tag. in dsa_xmit()
51 * Construct untagged FROM_CPU DSA tag. in dsa_xmit()
74 * The ethertype field is part of the DSA header. in dsa_rcv()
95 * Convert the DSA header to an 802.1q header if the 'tagged' in dsa_rcv()
96 * bit in the DSA header is set. If the 'tagged' bit is clear, in dsa_rcv()
97 * delete the DSA header entirely. in dsa_rcv()
105 * DSA uses that bit location for another purpose). in dsa_rcv()
[all …]
Dtag_edsa.c3 * net/dsa/tag_edsa.c - Ethertype DSA tagging
22 * Convert the outermost 802.1q tag to a DSA tag and prepend in edsa_xmit()
23 * a DSA ethertype field is the packet is tagged, or insert in edsa_xmit()
24 * a DSA ethertype plus DSA tag between the addresses and the in edsa_xmit()
35 * Construct tagged FROM_CPU DSA tag from 802.1q tag. in edsa_xmit()
60 * Construct untagged FROM_CPU DSA tag. in edsa_xmit()
108 * If the 'tagged' bit is set, convert the DSA tag to a 802.1q in edsa_rcv()
110 * clear, delete the ethertype and the DSA tag parts. in edsa_rcv()
118 * DSA uses that bit location for another purpose). in edsa_rcv()
126 * Move CFI bit from its place in the DSA header to in edsa_rcv()
[all …]
DKconfig59 tristate "Tag driver for Marvell switches using DSA headers"
62 Marvell switches which use DSA headers.
65 tristate "Tag driver for Marvell switches using EtherType DSA headers"
68 Marvell switches which use EtherType DSA headers.
Dtag_sja1105.c5 #include <linux/dsa/sja1105.h>
6 #include <linux/dsa/8021q.h>
171 "in the DSA master multicast filter?\n", in sja1105_rcv_meta_state_machine()
182 /* Tell DSA we got nothing */ in sja1105_rcv_meta_state_machine()
222 /* Free the meta frame and give DSA the buffered stampable_skb in sja1105_rcv_meta_state_machine()
286 /* Delete/overwrite fake VLAN header, DSA expects to not find in sja1105_rcv()
/Linux-v5.4/drivers/net/dsa/
DKconfig5 source "drivers/net/dsa/b53/Kconfig"
20 tristate "DSA mock-up Ethernet switch chip support"
25 exercises the DSA APIs.
51 source "drivers/net/dsa/microchip/Kconfig"
53 source "drivers/net/dsa/mv88e6xxx/Kconfig"
55 source "drivers/net/dsa/sja1105/Kconfig"
Ddsa_loop_bdinfo.c5 #include <net/dsa.h>
17 .name = "DSA mockup driver",
24 .modalias = "dsa-loop",
Dlan9303.h4 #include <net/dsa.h>
6 #include <linux/dsa/lan9303.h>
/Linux-v5.4/Documentation/devicetree/bindings/net/dsa/
Ddsa.txt5 probed, they register to the DSA framework, passing a node
16 - dsa,member : A two element list indicates which DSA cluster, and position
35 - link : Should be a list of phandles to other switch's DSA
74 linked into one DSA cluster.
84 dsa,member = <0 0>;
136 dsa,member = <0 1>;
203 dsa,member = <0 2>;
Drealtek-smi.txt60 See net/dsa/dsa.txt for a list of additional required and optional properties
61 and subnodes of DSA switches.
123 compatible = "realtek,smi-mdio", "dsa-mdio";
Dlan9303.txt19 described in dsa/dsa.txt. The CPU port of this switch is always port 0.
21 Note: always use 'reg = <0/1/2>;' for the three DSA ports, even if the device is
/Linux-v5.4/include/linux/dsa/
Dsja1105.h5 /* Included by drivers/net/dsa/sja1105/sja1105.h and net/dsa/tag_sja1105.c */
12 #include <net/dsa.h>
27 * in the DSA master port's multicast MAC filter.
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c210 * @dsaf_id: dsa fabric id
219 * @dsaf_id: dsa fabric id
231 * @dsaf_id: dsa fabric id
288 * @dsaf_id: dsa fabric id
306 * @dsaf_id: dsa fabric id
326 * @dsaf_id: dsa fabric id
345 * @dsaf_id: dsa fabric id
390 * @dsaf_id: dsa fabric id
559 * @dsaf_id: dsa fabric id
602 * @dsaf_id: dsa fabric id
[all …]
/Linux-v5.4/arch/arm64/boot/dts/marvell/
Darmada-3720-turris-mox.dts278 dsa,member = <0 0>;
382 label = "dsa";
403 dsa,member = <0 0>;
470 dsa,member = <0 1>;
566 label = "dsa";
574 label = "dsa";
595 dsa,member = <0 1>;
651 label = "dsa";
662 dsa,member = <0 2>;
758 label = "dsa";
[all …]
/Linux-v5.4/drivers/scsi/sym53c8xx_2/
Dsym_fw1.h241 * @DSA = start point for this job.
249 * may happen that the job address is not yet in the DSA
272 RADDR_1 (dsa),
275 RADDR_1 (dsa),
285 * DSA contains the address of a scheduled
332 RADDR_1 (dsa),
672 RADDR_1 (dsa),
708 * Copy the DSA to the DONE QUEUE and
718 RADDR_1 (dsa),
728 * are flushed and so the DSA value of the done
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dvf610-zii-dev-rev-b.dts35 dsa,member = <0 0>;
66 label = "dsa";
119 dsa,member = <0 1>;
150 label = "dsa";
162 label = "dsa";
204 dsa,member = <0 2>;
254 label = "dsa";
Dvf610-zii-scu4-aib.dts53 dsa,member = <0 0>;
113 label = "dsa";
131 dsa,member = <0 1>;
155 label = "dsa";
163 label = "dsa";
179 dsa,member = <0 2>;
249 label = "dsa";
267 dsa,member = <0 3>;
305 label = "dsa";
312 label = "dsa";
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-net-dsa1 What: /sys/class/net/<iface>/dsa/tagging
7 DSA slave network device.

1234567