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
16 Say Y if you want to enable support for the hardware switches supported
17 by the Distributed Switch Architecture.
22 config NET_DSA_TAG_8021Q
26 Unlike the other tagging protocols, the 802.1Q config option simply
27 provides helpers for other tagging implementations that might rely on
28 VLAN in one way or another. It is not a complete solution.
30 Drivers which use these helpers should select this as dependency.
32 config NET_DSA_TAG_AR9331
33 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
35 Say Y or M if you want to enable support for tagging frames for
36 the Atheros AR9331 SoC with built-in switch.
38 config NET_DSA_TAG_BRCM_COMMON
42 config NET_DSA_TAG_BRCM
43 tristate "Tag driver for Broadcom switches using in-frame headers"
44 select NET_DSA_TAG_BRCM_COMMON
46 Say Y if you want to enable support for tagging frames for the
47 Broadcom switches which place the tag after the MAC source address.
50 config NET_DSA_TAG_BRCM_PREPEND
51 tristate "Tag driver for Broadcom switches using prepended headers"
52 select NET_DSA_TAG_BRCM_COMMON
54 Say Y if you want to enable support for tagging frames for the
55 Broadcom switches which places the tag before the Ethernet header
58 config NET_DSA_TAG_GSWIP
59 tristate "Tag driver for Lantiq / Intel GSWIP switches"
61 Say Y or M if you want to enable support for tagging frames for the
62 Lantiq / Intel GSWIP switches.
64 config NET_DSA_TAG_DSA
65 tristate "Tag driver for Marvell switches using DSA headers"
67 Say Y or M if you want to enable support for tagging frames for the
68 Marvell switches which use DSA headers.
70 config NET_DSA_TAG_EDSA
71 tristate "Tag driver for Marvell switches using EtherType DSA headers"
73 Say Y or M if you want to enable support for tagging frames for the
74 Marvell switches which use EtherType DSA headers.
76 config NET_DSA_TAG_MTK
77 tristate "Tag driver for Mediatek switches"
79 Say Y or M if you want to enable support for tagging frames for
82 config NET_DSA_TAG_KSZ
83 tristate "Tag driver for Microchip 8795/9477/9893 families of switches"
85 Say Y if you want to enable support for tagging frames for the
86 Microchip 8795/9477/9893 families of switches.
88 config NET_DSA_TAG_OCELOT
89 tristate "Tag driver for Ocelot family of switches"
92 Say Y or M if you want to enable support for tagging frames for the
93 Ocelot switches (VSC7511, VSC7512, VSC7513, VSC7514, VSC9959).
95 config NET_DSA_TAG_QCA
96 tristate "Tag driver for Qualcomm Atheros QCA8K switches"
98 Say Y or M if you want to enable support for tagging frames for
99 the Qualcomm Atheros QCA8K switches.
101 config NET_DSA_TAG_LAN9303
102 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
104 Say Y or M if you want to enable support for tagging frames for the
105 SMSC/Microchip LAN9303 family of switches.
107 config NET_DSA_TAG_SJA1105
108 tristate "Tag driver for NXP SJA1105 switches"
109 select NET_DSA_TAG_8021Q
112 Say Y or M if you want to enable support for tagging frames with the
113 NXP SJA1105 switch family. Both the native tagging protocol (which
114 is only for link-local traffic) as well as non-native tagging (based
115 on a custom 802.1Q VLAN header) are available.
117 config NET_DSA_TAG_TRAILER
118 tristate "Tag driver for switches using a trailer tag"
120 Say Y or M if you want to enable support for tagging frames at
121 with a trailed. e.g. Marvell 88E6060.