xref: /openbmc/linux/net/dsa/Kconfig (revision 84fbfc33)
1config HAVE_NET_DSA
2	def_bool y
3	depends on INET && NETDEVICES && !S390
4
5# Drivers must select NET_DSA and the appropriate tagging format
6
7config NET_DSA
8	tristate "Distributed Switch Architecture"
9	depends on HAVE_NET_DSA && MAY_USE_DEVLINK
10	select NET_SWITCHDEV
11	select PHYLIB
12	---help---
13	  Say Y if you want to enable support for the hardware switches supported
14	  by the Distributed Switch Architecture.
15
16if NET_DSA
17
18# tagging formats
19config NET_DSA_TAG_BRCM
20	bool
21
22config NET_DSA_TAG_DSA
23	bool
24
25config NET_DSA_TAG_EDSA
26	bool
27
28config NET_DSA_TAG_KSZ
29	bool
30
31config NET_DSA_TAG_LAN9303
32	bool
33
34config NET_DSA_TAG_MTK
35	bool
36
37config NET_DSA_TAG_TRAILER
38	bool
39
40config NET_DSA_TAG_QCA
41	bool
42
43endif
44