xref: /openbmc/linux/net/dsa/Kconfig (revision ee0ab7a2)
1b3422a31SBen Hutchingsconfig HAVE_NET_DSA
2b3422a31SBen Hutchings	def_bool y
33a89eaa6SVivien Didelot	depends on INET && NETDEVICES && !S390
4b3422a31SBen Hutchings
5b3422a31SBen Hutchings# Drivers must select NET_DSA and the appropriate tagging format
6b3422a31SBen Hutchings
73b158859SBen Hutchingsconfig NET_DSA
8c6f15070SMathieu Olivari	tristate "Distributed Switch Architecture"
9768bfa2aSTobias Regnery	depends on HAVE_NET_DSA && MAY_USE_DEVLINK
10ee0ab7a2SAndrew Lunn	depends on BRIDGE || BRIDGE=n
113a89eaa6SVivien Didelot	select NET_SWITCHDEV
1245cec1baSDavid S. Miller	select PHYLIB
13c6f15070SMathieu Olivari	---help---
14c6f15070SMathieu Olivari	  Say Y if you want to enable support for the hardware switches supported
15c6f15070SMathieu Olivari	  by the Distributed Switch Architecture.
1691da11f8SLennert Buytenhek
17b3422a31SBen Hutchingsif NET_DSA
1891da11f8SLennert Buytenhek
1991da11f8SLennert Buytenhek# tagging formats
205037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM
215037d532SFlorian Fainelli	bool
225037d532SFlorian Fainelli
23b74b70c4SFlorian Fainelliconfig NET_DSA_TAG_BRCM_PREPEND
24b74b70c4SFlorian Fainelli	bool
25b74b70c4SFlorian Fainelli
26cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA
27b3422a31SBen Hutchings	bool
28cf85d08fSLennert Buytenhek
2991da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA
30b3422a31SBen Hutchings	bool
3191da11f8SLennert Buytenhek
328b8010fbSWoojung Huhconfig NET_DSA_TAG_KSZ
338b8010fbSWoojung Huh	bool
348b8010fbSWoojung Huh
35eb7b7211SAndrew Lunnconfig NET_DSA_TAG_LAN9303
36cafdc45cSJohn Crispin	bool
37cafdc45cSJohn Crispin
385cd8985aSSean Wangconfig NET_DSA_TAG_MTK
395cd8985aSSean Wang	bool
40e8fe177aSJuergen Beisert
41eb7b7211SAndrew Lunnconfig NET_DSA_TAG_TRAILER
42eb7b7211SAndrew Lunn	bool
43eb7b7211SAndrew Lunn
44eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA
45e8fe177aSJuergen Beisert	bool
46e8fe177aSJuergen Beisert
47b3422a31SBen Hutchingsendif
48