GNU Linux-libre 4.19.211-gnu1
[releases.git] / net / dsa / Kconfig
1 config 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
7 config NET_DSA
8         tristate "Distributed Switch Architecture"
9         depends on HAVE_NET_DSA && MAY_USE_DEVLINK
10         depends on BRIDGE || BRIDGE=n
11         select GRO_CELLS
12         select NET_SWITCHDEV
13         select PHYLINK
14         ---help---
15           Say Y if you want to enable support for the hardware switches supported
16           by the Distributed Switch Architecture.
17
18 if NET_DSA
19
20 config NET_DSA_LEGACY
21         bool "Support for older platform device and Device Tree registration"
22         default y
23         ---help---
24           Say Y if you want to enable support for the older platform device and
25           deprecated Device Tree binding registration.
26
27           This feature is scheduled for removal in 4.17.
28
29 # tagging formats
30 config NET_DSA_TAG_BRCM
31         bool
32
33 config NET_DSA_TAG_BRCM_PREPEND
34         bool
35
36 config NET_DSA_TAG_DSA
37         bool
38
39 config NET_DSA_TAG_EDSA
40         bool
41
42 config NET_DSA_TAG_KSZ
43         bool
44
45 config NET_DSA_TAG_LAN9303
46         bool
47
48 config NET_DSA_TAG_MTK
49         bool
50
51 config NET_DSA_TAG_TRAILER
52         bool
53
54 config NET_DSA_TAG_QCA
55         bool
56
57 endif