]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - net/dsa/Kconfig
UBUNTU: Ubuntu-5.15.0-39.42
[mirror_ubuntu-jammy-kernel.git] / net / dsa / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 menuconfig 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
9 select NET_SWITCHDEV
10 select PHYLINK
11 select NET_DEVLINK
12 imply NET_SELFTESTS
13 help
14 Say Y if you want to enable support for the hardware switches supported
15 by the Distributed Switch Architecture.
16
17 if NET_DSA
18
19 # Drivers must select the appropriate tagging format(s)
20
21 config 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
27 config NET_DSA_TAG_BRCM_COMMON
28 tristate
29 default n
30
31 config NET_DSA_TAG_BRCM
32 tristate "Tag driver for Broadcom switches using in-frame headers"
33 select NET_DSA_TAG_BRCM_COMMON
34 help
35 Say Y if you want to enable support for tagging frames for the
36 Broadcom switches which place the tag after the MAC source address.
37
38 config NET_DSA_TAG_BRCM_LEGACY
39 tristate "Tag driver for Broadcom legacy switches using in-frame headers"
40 select NET_DSA_TAG_BRCM_COMMON
41 help
42 Say Y if you want to enable support for tagging frames for the
43 Broadcom legacy switches which place the tag after the MAC source
44 address.
45
46 config NET_DSA_TAG_BRCM_PREPEND
47 tristate "Tag driver for Broadcom switches using prepended headers"
48 select NET_DSA_TAG_BRCM_COMMON
49 help
50 Say Y if you want to enable support for tagging frames for the
51 Broadcom switches which places the tag before the Ethernet header
52 (prepended).
53
54 config NET_DSA_TAG_HELLCREEK
55 tristate "Tag driver for Hirschmann Hellcreek TSN switches"
56 help
57 Say Y or M if you want to enable support for tagging frames
58 for the Hirschmann Hellcreek TSN switches.
59
60 config NET_DSA_TAG_GSWIP
61 tristate "Tag driver for Lantiq / Intel GSWIP switches"
62 help
63 Say Y or M if you want to enable support for tagging frames for the
64 Lantiq / Intel GSWIP switches.
65
66 config NET_DSA_TAG_DSA_COMMON
67 tristate
68
69 config NET_DSA_TAG_DSA
70 tristate "Tag driver for Marvell switches using DSA headers"
71 select NET_DSA_TAG_DSA_COMMON
72 help
73 Say Y or M if you want to enable support for tagging frames for the
74 Marvell switches which use DSA headers.
75
76 config NET_DSA_TAG_EDSA
77 tristate "Tag driver for Marvell switches using EtherType DSA headers"
78 select NET_DSA_TAG_DSA_COMMON
79 help
80 Say Y or M if you want to enable support for tagging frames for the
81 Marvell switches which use EtherType DSA headers.
82
83 config NET_DSA_TAG_MTK
84 tristate "Tag driver for Mediatek switches"
85 help
86 Say Y or M if you want to enable support for tagging frames for
87 Mediatek switches.
88
89 config NET_DSA_TAG_KSZ
90 tristate "Tag driver for Microchip 8795/9477/9893 families of switches"
91 help
92 Say Y if you want to enable support for tagging frames for the
93 Microchip 8795/9477/9893 families of switches.
94
95 config NET_DSA_TAG_RTL4_A
96 tristate "Tag driver for Realtek 4 byte protocol A tags"
97 help
98 Say Y or M if you want to enable support for tagging frames for the
99 Realtek switches with 4 byte protocol A tags, sich as found in
100 the Realtek RTL8366RB.
101
102 config NET_DSA_TAG_OCELOT
103 tristate "Tag driver for Ocelot family of switches, using NPI port"
104 select PACKING
105 help
106 Say Y or M if you want to enable NPI tagging for the Ocelot switches
107 (VSC7511, VSC7512, VSC7513, VSC7514, VSC9953, VSC9959). In this mode,
108 the frames over the Ethernet CPU port are prepended with a
109 hardware-defined injection/extraction frame header. Flow control
110 (PAUSE frames) over the CPU port is not supported when operating in
111 this mode.
112
113 config NET_DSA_TAG_OCELOT_8021Q
114 tristate "Tag driver for Ocelot family of switches, using VLAN"
115 help
116 Say Y or M if you want to enable support for tagging frames with a
117 custom VLAN-based header. Frames that require timestamping, such as
118 PTP, are not delivered over Ethernet but over register-based MMIO.
119 Flow control over the CPU port is functional in this mode. When using
120 this mode, less TCAM resources (VCAP IS1, IS2, ES0) are available for
121 use with tc-flower.
122
123 config NET_DSA_TAG_QCA
124 tristate "Tag driver for Qualcomm Atheros QCA8K switches"
125 help
126 Say Y or M if you want to enable support for tagging frames for
127 the Qualcomm Atheros QCA8K switches.
128
129 config NET_DSA_TAG_LAN9303
130 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches"
131 help
132 Say Y or M if you want to enable support for tagging frames for the
133 SMSC/Microchip LAN9303 family of switches.
134
135 config NET_DSA_TAG_SJA1105
136 tristate "Tag driver for NXP SJA1105 switches"
137 select PACKING
138 help
139 Say Y or M if you want to enable support for tagging frames with the
140 NXP SJA1105 switch family. Both the native tagging protocol (which
141 is only for link-local traffic) as well as non-native tagging (based
142 on a custom 802.1Q VLAN header) are available.
143
144 config NET_DSA_TAG_TRAILER
145 tristate "Tag driver for switches using a trailer tag"
146 help
147 Say Y or M if you want to enable support for tagging frames at
148 with a trailed. e.g. Marvell 88E6060.
149
150 config NET_DSA_TAG_XRS700X
151 tristate "Tag driver for XRS700x switches"
152 help
153 Say Y or M if you want to enable support for tagging frames for
154 Arrow SpeedChips XRS700x switches that use a single byte tag trailer.
155
156 endif