1 # SPDX-License-Identifier: GPL-2.0-only
4 depends on INET && NETDEVICES && !S390
6 # Drivers must select NET_DSA and the appropriate tagging format
9 tristate "Distributed Switch Architecture"
10 depends on HAVE_NET_DSA
11 depends on BRIDGE || BRIDGE=n
12 depends on HSR || HSR=n
18 Say Y if you want to enable support for the hardware switches supported
19 by the Distributed Switch Architecture.
24 config NET_DSA_TAG_8021Q
28 Unlike the other tagging protocols, the 802.1Q config option simply
29 provides helpers for other tagging implementations that might rely on
30 VLAN in one way or another. It is not a complete solution.
32 Drivers which use these helpers should select this as dependency.
34 config NET_DSA_TAG_AR9331
35 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
37 Say Y or M if you want to enable support for tagging frames for
38 the Atheros AR9331 SoC with built-in switch.
40 config NET_DSA_TAG_BRCM_COMMON
44 config NET_DSA_TAG_BRCM
45 tristate "Tag driver for Broadcom switches using in-frame headers"
46 select NET_DSA_TAG_BRCM_COMMON
48 Say Y if you want to enable support for tagging frames for the
49 Broadcom switches which place the tag after the MAC source address.
52 config NET_DSA_TAG_BRCM_PREPEND
53 tristate "Tag driver for Broadcom switches using prepended headers"
54 select NET_DSA_TAG_BRCM_COMMON
56 Say Y if you want to enable support for tagging frames for the
57 Broadcom switches which places the tag before the Ethernet header
60 config NET_DSA_TAG_HELLCREEK
61 tristate "Tag driver for Hirschmann Hellcreek TSN switches"
63 Say Y or M if you want to enable support for tagging frames
64 for the Hirschmann Hellcreek TSN switches.
66 config NET_DSA_TAG_GSWIP
67 tristate "Tag driver for Lantiq / Intel GSWIP switches"
69 Say Y or M if you want to enable support for tagging frames for the
70 Lantiq / Intel GSWIP switches.
72 config NET_DSA_TAG_DSA_COMMON
75 config NET_DSA_TAG_DSA
76 tristate "Tag driver for Marvell switches using DSA headers"
77 select NET_DSA_TAG_DSA_COMMON
79 Say Y or M if you want to enable support for tagging frames for the
80 Marvell switches which use DSA headers.
82 config NET_DSA_TAG_EDSA
83 tristate "Tag driver for Marvell switches using EtherType DSA headers"
84 select NET_DSA_TAG_DSA_COMMON
86 Say Y or M if you want to enable support for tagging frames for the
87 Marvell switches which use EtherType DSA headers.
89 config NET_DSA_TAG_MTK
90 tristate "Tag driver for Mediatek switches"
92 Say Y or M if you want to enable support for tagging frames for
95 config NET_DSA_TAG_KSZ
96 tristate "Tag driver for Microchip 8795/9477/9893 families of switches"
98 Say Y if you want to enable support for tagging frames for the
99 Microchip 8795/9477/9893 families of switches.
101 config NET_DSA_TAG_RTL4_A
102 tristate "Tag driver for Realtek 4 byte protocol A tags"
104 Say Y or M if you want to enable support for tagging frames for the
105 Realtek switches with 4 byte protocol A tags, sich as found in
106 the Realtek RTL8366RB.
108 config NET_DSA_TAG_OCELOT
109 tristate "Tag driver for Ocelot family of switches, using NPI port"
112 Say Y or M if you want to enable NPI tagging for the Ocelot switches
113 (VSC7511, VSC7512, VSC7513, VSC7514, VSC9953, VSC9959). In this mode,
114 the frames over the Ethernet CPU port are prepended with a
115 hardware-defined injection/extraction frame header. Flow control
116 (PAUSE frames) over the CPU port is not supported when operating in
119 config NET_DSA_TAG_OCELOT_8021Q
120 tristate "Tag driver for Ocelot family of switches, using VLAN"
121 select NET_DSA_TAG_8021Q
123 Say Y or M if you want to enable support for tagging frames with a
124 custom VLAN-based header. Frames that require timestamping, such as
125 PTP, are not delivered over Ethernet but over register-based MMIO.
126 Flow control over the CPU port is functional in this mode. When using
127 this mode, less TCAM resources (VCAP IS1, IS2, ES0) are available for
130 config NET_DSA_TAG_QCA
131 tristate "Tag driver for Qualcomm Atheros QCA8K switches"
133 Say Y or M if you want to enable support for tagging frames for
134 the Qualcomm Atheros QCA8K switches.
136 config NET_DSA_TAG_LAN9303
137 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
139 Say Y or M if you want to enable support for tagging frames for the
140 SMSC/Microchip LAN9303 family of switches.
142 config NET_DSA_TAG_SJA1105
143 tristate "Tag driver for NXP SJA1105 switches"
144 select NET_DSA_TAG_8021Q
147 Say Y or M if you want to enable support for tagging frames with the
148 NXP SJA1105 switch family. Both the native tagging protocol (which
149 is only for link-local traffic) as well as non-native tagging (based
150 on a custom 802.1Q VLAN header) are available.
152 config NET_DSA_TAG_TRAILER
153 tristate "Tag driver for switches using a trailer tag"
155 Say Y or M if you want to enable support for tagging frames at
156 with a trailed. e.g. Marvell 88E6060.
158 config NET_DSA_TAG_XRS700X
159 tristate "Tag driver for XRS700x switches"
161 Say Y or M if you want to enable support for tagging frames for
162 Arrow SpeedChips XRS700x switches that use a single byte tag trailer.