1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only >> 2 config HAVE_NET_DSA >> 3 def_bool y >> 4 depends on INET && NETDEVICES && !S390 >> 5 >> 6 # Drivers must select NET_DSA and the appropriate tagging format 2 7 3 menuconfig NET_DSA 8 menuconfig NET_DSA 4 tristate "Distributed Switch Architect 9 tristate "Distributed Switch Architecture" >> 10 depends on HAVE_NET_DSA 5 depends on BRIDGE || BRIDGE=n 11 depends on BRIDGE || BRIDGE=n 6 depends on HSR || HSR=n << 7 depends on INET && NETDEVICES << 8 select GRO_CELLS 12 select GRO_CELLS 9 select NET_SWITCHDEV 13 select NET_SWITCHDEV 10 select PHYLINK 14 select PHYLINK 11 select NET_DEVLINK 15 select NET_DEVLINK 12 imply NET_SELFTESTS << 13 help 16 help 14 Say Y if you want to enable support 17 Say Y if you want to enable support for the hardware switches supported 15 by the Distributed Switch Architectu 18 by the Distributed Switch Architecture. 16 19 17 if NET_DSA 20 if NET_DSA 18 21 19 # Drivers must select the appropriate tagging !! 22 # tagging formats 20 !! 23 config NET_DSA_TAG_8021Q 21 config NET_DSA_TAG_NONE !! 24 tristate 22 tristate "No-op tag driver" !! 25 select VLAN_8021Q 23 help 26 help 24 Say Y or M if you want to enable sup !! 27 Unlike the other tagging protocols, the 802.1Q config option simply 25 frames over the CPU port. !! 28 provides helpers for other tagging implementations that might rely on >> 29 VLAN in one way or another. It is not a complete solution. >> 30 >> 31 Drivers which use these helpers should select this as dependency. 26 32 27 config NET_DSA_TAG_AR9331 33 config NET_DSA_TAG_AR9331 28 tristate "Tag driver for Atheros AR933 34 tristate "Tag driver for Atheros AR9331 SoC with built-in switch" 29 help 35 help 30 Say Y or M if you want to enable sup 36 Say Y or M if you want to enable support for tagging frames for 31 the Atheros AR9331 SoC with built-in 37 the Atheros AR9331 SoC with built-in switch. 32 38 33 config NET_DSA_TAG_BRCM_COMMON 39 config NET_DSA_TAG_BRCM_COMMON 34 tristate 40 tristate 35 default n 41 default n 36 42 37 config NET_DSA_TAG_BRCM 43 config NET_DSA_TAG_BRCM 38 tristate "Tag driver for Broadcom swit 44 tristate "Tag driver for Broadcom switches using in-frame headers" 39 select NET_DSA_TAG_BRCM_COMMON 45 select NET_DSA_TAG_BRCM_COMMON 40 help 46 help 41 Say Y if you want to enable support 47 Say Y if you want to enable support for tagging frames for the 42 Broadcom switches which place the ta 48 Broadcom switches which place the tag after the MAC source address. 43 49 44 config NET_DSA_TAG_BRCM_LEGACY << 45 tristate "Tag driver for Broadcom lega << 46 select NET_DSA_TAG_BRCM_COMMON << 47 help << 48 Say Y if you want to enable support << 49 Broadcom legacy switches which place << 50 address. << 51 50 52 config NET_DSA_TAG_BRCM_PREPEND 51 config NET_DSA_TAG_BRCM_PREPEND 53 tristate "Tag driver for Broadcom swit 52 tristate "Tag driver for Broadcom switches using prepended headers" 54 select NET_DSA_TAG_BRCM_COMMON 53 select NET_DSA_TAG_BRCM_COMMON 55 help 54 help 56 Say Y if you want to enable support 55 Say Y if you want to enable support for tagging frames for the 57 Broadcom switches which places the t 56 Broadcom switches which places the tag before the Ethernet header 58 (prepended). 57 (prepended). 59 58 60 config NET_DSA_TAG_HELLCREEK 59 config NET_DSA_TAG_HELLCREEK 61 tristate "Tag driver for Hirschmann He 60 tristate "Tag driver for Hirschmann Hellcreek TSN switches" 62 help 61 help 63 Say Y or M if you want to enable sup 62 Say Y or M if you want to enable support for tagging frames 64 for the Hirschmann Hellcreek TSN swi 63 for the Hirschmann Hellcreek TSN switches. 65 64 66 config NET_DSA_TAG_GSWIP 65 config NET_DSA_TAG_GSWIP 67 tristate "Tag driver for Lantiq / Inte 66 tristate "Tag driver for Lantiq / Intel GSWIP switches" 68 help 67 help 69 Say Y or M if you want to enable sup 68 Say Y or M if you want to enable support for tagging frames for the 70 Lantiq / Intel GSWIP switches. 69 Lantiq / Intel GSWIP switches. 71 70 72 config NET_DSA_TAG_DSA_COMMON 71 config NET_DSA_TAG_DSA_COMMON 73 tristate 72 tristate 74 73 75 config NET_DSA_TAG_DSA 74 config NET_DSA_TAG_DSA 76 tristate "Tag driver for Marvell switc 75 tristate "Tag driver for Marvell switches using DSA headers" 77 select NET_DSA_TAG_DSA_COMMON 76 select NET_DSA_TAG_DSA_COMMON 78 help 77 help 79 Say Y or M if you want to enable sup 78 Say Y or M if you want to enable support for tagging frames for the 80 Marvell switches which use DSA heade 79 Marvell switches which use DSA headers. 81 80 82 config NET_DSA_TAG_EDSA 81 config NET_DSA_TAG_EDSA 83 tristate "Tag driver for Marvell switc 82 tristate "Tag driver for Marvell switches using EtherType DSA headers" 84 select NET_DSA_TAG_DSA_COMMON 83 select NET_DSA_TAG_DSA_COMMON 85 help 84 help 86 Say Y or M if you want to enable sup 85 Say Y or M if you want to enable support for tagging frames for the 87 Marvell switches which use EtherType 86 Marvell switches which use EtherType DSA headers. 88 87 89 config NET_DSA_TAG_MTK 88 config NET_DSA_TAG_MTK 90 tristate "Tag driver for Mediatek swit 89 tristate "Tag driver for Mediatek switches" 91 help 90 help 92 Say Y or M if you want to enable sup 91 Say Y or M if you want to enable support for tagging frames for 93 Mediatek switches. 92 Mediatek switches. 94 93 95 config NET_DSA_TAG_KSZ 94 config NET_DSA_TAG_KSZ 96 tristate "Tag driver for Microchip 879 !! 95 tristate "Tag driver for Microchip 8795/9477/9893 families of switches" 97 help 96 help 98 Say Y if you want to enable support 97 Say Y if you want to enable support for tagging frames for the 99 Microchip 8795/937x/9477/9893 famili !! 98 Microchip 8795/9477/9893 families of switches. 100 << 101 config NET_DSA_TAG_OCELOT << 102 tristate "Tag driver for Ocelot family << 103 select PACKING << 104 help << 105 Say Y or M if you want to enable NPI << 106 (VSC7511, VSC7512, VSC7513, VSC7514, << 107 the frames over the Ethernet CPU por << 108 hardware-defined injection/extractio << 109 (PAUSE frames) over the CPU port is << 110 this mode. << 111 << 112 config NET_DSA_TAG_OCELOT_8021Q << 113 tristate "Tag driver for Ocelot family << 114 help << 115 Say Y or M if you want to enable sup << 116 custom VLAN-based header. Frames tha << 117 PTP, are not delivered over Ethernet << 118 Flow control over the CPU port is fu << 119 this mode, less TCAM resources (VCAP << 120 use with tc-flower. << 121 << 122 config NET_DSA_TAG_QCA << 123 tristate "Tag driver for Qualcomm Athe << 124 help << 125 Say Y or M if you want to enable sup << 126 the Qualcomm Atheros QCA8K switches. << 127 99 128 config NET_DSA_TAG_RTL4_A 100 config NET_DSA_TAG_RTL4_A 129 tristate "Tag driver for Realtek 4 byt 101 tristate "Tag driver for Realtek 4 byte protocol A tags" 130 help 102 help 131 Say Y or M if you want to enable sup 103 Say Y or M if you want to enable support for tagging frames for the 132 Realtek switches with 4 byte protoco !! 104 Realtek switches with 4 byte protocol A tags, sich as found in 133 the Realtek RTL8366RB. 105 the Realtek RTL8366RB. 134 106 135 config NET_DSA_TAG_RTL8_4 !! 107 config NET_DSA_TAG_OCELOT 136 tristate "Tag driver for Realtek 8 byt !! 108 tristate "Tag driver for Ocelot family of switches" >> 109 select PACKING 137 help 110 help 138 Say Y or M if you want to enable sup !! 111 Say Y or M if you want to enable support for tagging frames for the 139 switches with 8 byte protocol 4 tags !! 112 Ocelot switches (VSC7511, VSC7512, VSC7513, VSC7514, VSC9959). 140 113 141 config NET_DSA_TAG_RZN1_A5PSW !! 114 config NET_DSA_TAG_QCA 142 tristate "Tag driver for Renesas RZ/N1 !! 115 tristate "Tag driver for Qualcomm Atheros QCA8K switches" 143 help 116 help 144 Say Y or M if you want to enable sup 117 Say Y or M if you want to enable support for tagging frames for 145 Renesas RZ/N1 embedded switch that u !! 118 the Qualcomm Atheros QCA8K switches. 146 destination MAC address. << 147 119 148 config NET_DSA_TAG_LAN9303 120 config NET_DSA_TAG_LAN9303 149 tristate "Tag driver for SMSC/Microchi 121 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches" 150 help 122 help 151 Say Y or M if you want to enable sup 123 Say Y or M if you want to enable support for tagging frames for the 152 SMSC/Microchip LAN9303 family of swi 124 SMSC/Microchip LAN9303 family of switches. 153 125 154 config NET_DSA_TAG_SJA1105 126 config NET_DSA_TAG_SJA1105 155 tristate "Tag driver for NXP SJA1105 s 127 tristate "Tag driver for NXP SJA1105 switches" >> 128 select NET_DSA_TAG_8021Q 156 select PACKING 129 select PACKING 157 help 130 help 158 Say Y or M if you want to enable sup 131 Say Y or M if you want to enable support for tagging frames with the 159 NXP SJA1105 switch family. Both the 132 NXP SJA1105 switch family. Both the native tagging protocol (which 160 is only for link-local traffic) as w 133 is only for link-local traffic) as well as non-native tagging (based 161 on a custom 802.1Q VLAN header) are 134 on a custom 802.1Q VLAN header) are available. 162 135 163 config NET_DSA_TAG_TRAILER 136 config NET_DSA_TAG_TRAILER 164 tristate "Tag driver for switches usin 137 tristate "Tag driver for switches using a trailer tag" 165 help 138 help 166 Say Y or M if you want to enable sup 139 Say Y or M if you want to enable support for tagging frames at 167 with a trailed. e.g. Marvell 88E6060 140 with a trailed. e.g. Marvell 88E6060. 168 << 169 config NET_DSA_TAG_VSC73XX_8021Q << 170 tristate "Tag driver for Microchip/Vit << 171 help << 172 Say Y or M if you want to enable sup << 173 custom VLAN-based header. << 174 << 175 config NET_DSA_TAG_XRS700X << 176 tristate "Tag driver for XRS700x switc << 177 help << 178 Say Y or M if you want to enable sup << 179 Arrow SpeedChips XRS700x switches th << 180 141 181 endif 142 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.