]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
b3422a31 BH |
2 | config HAVE_NET_DSA |
3 | def_bool y | |
3a89eaa6 | 4 | depends on INET && NETDEVICES && !S390 |
b3422a31 BH |
5 | |
6 | # Drivers must select NET_DSA and the appropriate tagging format | |
7 | ||
0b9f9dfb | 8 | menuconfig NET_DSA |
c6f15070 | 9 | tristate "Distributed Switch Architecture" |
f4b6bcc7 | 10 | depends on HAVE_NET_DSA |
ee0ab7a2 | 11 | depends on BRIDGE || BRIDGE=n |
3a89eaa6 | 12 | select NET_SWITCHDEV |
11d8f3dd | 13 | select PHYLINK |
f6b19b35 | 14 | select NET_DEVLINK |
c6f15070 MO |
15 | ---help--- |
16 | Say Y if you want to enable support for the hardware switches supported | |
17 | by the Distributed Switch Architecture. | |
91da11f8 | 18 | |
b3422a31 | 19 | if NET_DSA |
91da11f8 | 20 | |
f9bbe447 VO |
21 | # tagging formats |
22 | config NET_DSA_TAG_8021Q | |
129bd7ca | 23 | tristate |
f9bbe447 VO |
24 | select VLAN_8021Q |
25 | help | |
26 | Unlike the other tagging protocols, the 802.1Q config option simply | |
27 | provides helpers for other tagging implementations that might rely on | |
28 | VLAN in one way or another. It is not a complete solution. | |
29 | ||
30 | Drivers which use these helpers should select this as dependency. | |
31 | ||
0b9f9dfb AL |
32 | config NET_DSA_TAG_BRCM_COMMON |
33 | tristate | |
34 | default n | |
35 | ||
5037d532 | 36 | config NET_DSA_TAG_BRCM |
0b9f9dfb AL |
37 | tristate "Tag driver for Broadcom switches using in-frame headers" |
38 | select NET_DSA_TAG_BRCM_COMMON | |
39 | help | |
40 | Say Y if you want to enable support for tagging frames for the | |
41 | Broadcom switches which place the tag after the MAC source address. | |
42 | ||
5037d532 | 43 | |
b74b70c4 | 44 | config NET_DSA_TAG_BRCM_PREPEND |
0b9f9dfb AL |
45 | tristate "Tag driver for Broadcom switches using prepended headers" |
46 | select NET_DSA_TAG_BRCM_COMMON | |
47 | help | |
48 | Say Y if you want to enable support for tagging frames for the | |
49 | Broadcom switches which places the tag before the Ethernet header | |
50 | (prepended). | |
51 | ||
52 | config NET_DSA_TAG_GSWIP | |
53 | tristate "Tag driver for Lantiq / Intel GSWIP switches" | |
54 | help | |
55 | Say Y or M if you want to enable support for tagging frames for the | |
56 | Lantiq / Intel GSWIP switches. | |
b74b70c4 | 57 | |
cf85d08f | 58 | config NET_DSA_TAG_DSA |
0b9f9dfb AL |
59 | tristate "Tag driver for Marvell switches using DSA headers" |
60 | help | |
61 | Say Y or M if you want to enable support for tagging frames for the | |
62 | Marvell switches which use DSA headers. | |
cf85d08f | 63 | |
91da11f8 | 64 | config NET_DSA_TAG_EDSA |
0b9f9dfb AL |
65 | tristate "Tag driver for Marvell switches using EtherType DSA headers" |
66 | help | |
67 | Say Y or M if you want to enable support for tagging frames for the | |
68 | Marvell switches which use EtherType DSA headers. | |
91da11f8 | 69 | |
0b9f9dfb AL |
70 | config NET_DSA_TAG_MTK |
71 | tristate "Tag driver for Mediatek switches" | |
72 | help | |
73 | Say Y or M if you want to enable support for tagging frames for | |
74 | Mediatek switches. | |
75 | ||
8b8010fb | 76 | config NET_DSA_TAG_KSZ |
f4073e91 | 77 | tristate "Tag driver for Microchip 8795/9477/9893 families of switches" |
0b9f9dfb AL |
78 | help |
79 | Say Y if you want to enable support for tagging frames for the | |
f4073e91 | 80 | Microchip 8795/9477/9893 families of switches. |
39d6b96f | 81 | |
8dce89aa VO |
82 | config NET_DSA_TAG_OCELOT |
83 | tristate "Tag driver for Ocelot family of switches" | |
84 | select PACKING | |
85 | help | |
86 | Say Y or M if you want to enable support for tagging frames for the | |
87 | Ocelot switches (VSC7511, VSC7512, VSC7513, VSC7514, VSC9959). | |
88 | ||
0b9f9dfb AL |
89 | config NET_DSA_TAG_QCA |
90 | tristate "Tag driver for Qualcomm Atheros QCA8K switches" | |
91 | help | |
92 | Say Y or M if you want to enable support for tagging frames for | |
93 | the Qualcomm Atheros QCA8K switches. | |
b3422a31 | 94 | |
0b9f9dfb AL |
95 | config NET_DSA_TAG_LAN9303 |
96 | tristate "Tag driver for SMSC/Microchip LAN9303 family of switches" | |
97 | help | |
98 | Say Y or M if you want to enable support for tagging frames for the | |
99 | SMSC/Microchip LAN9303 family of switches. | |
cafdc45c | 100 | |
227d07a0 VO |
101 | config NET_DSA_TAG_SJA1105 |
102 | tristate "Tag driver for NXP SJA1105 switches" | |
103 | select NET_DSA_TAG_8021Q | |
6358f38c | 104 | select PACKING |
227d07a0 VO |
105 | help |
106 | Say Y or M if you want to enable support for tagging frames with the | |
107 | NXP SJA1105 switch family. Both the native tagging protocol (which | |
108 | is only for link-local traffic) as well as non-native tagging (based | |
109 | on a custom 802.1Q VLAN header) are available. | |
110 | ||
eb7b7211 | 111 | config NET_DSA_TAG_TRAILER |
0b9f9dfb AL |
112 | tristate "Tag driver for switches using a trailer tag" |
113 | help | |
114 | Say Y or M if you want to enable support for tagging frames at | |
115 | with a trailed. e.g. Marvell 88E6060. | |
e8fe177a | 116 | |
b3422a31 | 117 | endif |