~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/dsa/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /net/dsa/Kconfig (Version linux-6.12-rc7) and /net/dsa/Kconfig (Version linux-5.13.19)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php