Kconfig (320424c7d44f54c18df9812fd7c45f6963524002) Kconfig (8b6e638b4be2ad77f61fb93b4e1776c6ccc2edab)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig NET_DSA
4 tristate "Distributed Switch Architecture"
5 depends on BRIDGE || BRIDGE=n
6 depends on HSR || HSR=n
7 depends on INET && NETDEVICES
8 select GRO_CELLS

--- 4 unchanged lines hidden (view full) ---

13 help
14 Say Y if you want to enable support for the hardware switches supported
15 by the Distributed Switch Architecture.
16
17if NET_DSA
18
19# Drivers must select the appropriate tagging format(s)
20
1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig NET_DSA
4 tristate "Distributed Switch Architecture"
5 depends on BRIDGE || BRIDGE=n
6 depends on HSR || HSR=n
7 depends on INET && NETDEVICES
8 select GRO_CELLS

--- 4 unchanged lines hidden (view full) ---

13 help
14 Say Y if you want to enable support for the hardware switches supported
15 by the Distributed Switch Architecture.
16
17if NET_DSA
18
19# Drivers must select the appropriate tagging format(s)
20
21config NET_DSA_TAG_8021Q
22 tristate
23 select VLAN_8021Q
24 help
25 Unlike the other tagging protocols, the 802.1Q config option simply
26 provides helpers for other tagging implementations that might rely on
27 VLAN in one way or another. It is not a complete solution.
28
29 Drivers which use these helpers should select this as dependency.
30
31config NET_DSA_TAG_AR9331
32 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
33 help
34 Say Y or M if you want to enable support for tagging frames for
35 the Atheros AR9331 SoC with built-in switch.
36
37config NET_DSA_TAG_BRCM_COMMON
38 tristate

--- 82 unchanged lines hidden (view full) ---

121 hardware-defined injection/extraction frame header. Flow control
122 (PAUSE frames) over the CPU port is not supported when operating in
123 this mode.
124
125config NET_DSA_TAG_OCELOT_8021Q
126 tristate "Tag driver for Ocelot family of switches, using VLAN"
127 depends on MSCC_OCELOT_SWITCH_LIB || \
128 (MSCC_OCELOT_SWITCH_LIB=n && COMPILE_TEST)
21config NET_DSA_TAG_AR9331
22 tristate "Tag driver for Atheros AR9331 SoC with built-in switch"
23 help
24 Say Y or M if you want to enable support for tagging frames for
25 the Atheros AR9331 SoC with built-in switch.
26
27config NET_DSA_TAG_BRCM_COMMON
28 tristate

--- 82 unchanged lines hidden (view full) ---

111 hardware-defined injection/extraction frame header. Flow control
112 (PAUSE frames) over the CPU port is not supported when operating in
113 this mode.
114
115config NET_DSA_TAG_OCELOT_8021Q
116 tristate "Tag driver for Ocelot family of switches, using VLAN"
117 depends on MSCC_OCELOT_SWITCH_LIB || \
118 (MSCC_OCELOT_SWITCH_LIB=n && COMPILE_TEST)
129 select NET_DSA_TAG_8021Q
130 help
131 Say Y or M if you want to enable support for tagging frames with a
132 custom VLAN-based header. Frames that require timestamping, such as
133 PTP, are not delivered over Ethernet but over register-based MMIO.
134 Flow control over the CPU port is functional in this mode. When using
135 this mode, less TCAM resources (VCAP IS1, IS2, ES0) are available for
136 use with tc-flower.
137

--- 6 unchanged lines hidden (view full) ---

144config NET_DSA_TAG_LAN9303
145 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
146 help
147 Say Y or M if you want to enable support for tagging frames for the
148 SMSC/Microchip LAN9303 family of switches.
149
150config NET_DSA_TAG_SJA1105
151 tristate "Tag driver for NXP SJA1105 switches"
119 help
120 Say Y or M if you want to enable support for tagging frames with a
121 custom VLAN-based header. Frames that require timestamping, such as
122 PTP, are not delivered over Ethernet but over register-based MMIO.
123 Flow control over the CPU port is functional in this mode. When using
124 this mode, less TCAM resources (VCAP IS1, IS2, ES0) are available for
125 use with tc-flower.
126

--- 6 unchanged lines hidden (view full) ---

133config NET_DSA_TAG_LAN9303
134 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
135 help
136 Say Y or M if you want to enable support for tagging frames for the
137 SMSC/Microchip LAN9303 family of switches.
138
139config NET_DSA_TAG_SJA1105
140 tristate "Tag driver for NXP SJA1105 switches"
152 select NET_DSA_TAG_8021Q
153 select PACKING
154 help
155 Say Y or M if you want to enable support for tagging frames with the
156 NXP SJA1105 switch family. Both the native tagging protocol (which
157 is only for link-local traffic) as well as non-native tagging (based
158 on a custom 802.1Q VLAN header) are available.
159
160config NET_DSA_TAG_TRAILER

--- 12 unchanged lines hidden ---
141 select PACKING
142 help
143 Say Y or M if you want to enable support for tagging frames with the
144 NXP SJA1105 switch family. Both the native tagging protocol (which
145 is only for link-local traffic) as well as non-native tagging (based
146 on a custom 802.1Q VLAN header) are available.
147
148config NET_DSA_TAG_TRAILER

--- 12 unchanged lines hidden ---