xref: /kernel/linux/linux-5.10/net/bridge/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# 802.1d Ethernet Bridging
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig BRIDGE
78c2ecf20Sopenharmony_ci	tristate "802.1d Ethernet Bridging"
88c2ecf20Sopenharmony_ci	select LLC
98c2ecf20Sopenharmony_ci	select STP
108c2ecf20Sopenharmony_ci	depends on IPV6 || IPV6=n
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  If you say Y here, then your Linux box will be able to act as an
138c2ecf20Sopenharmony_ci	  Ethernet bridge, which means that the different Ethernet segments it
148c2ecf20Sopenharmony_ci	  is connected to will appear as one Ethernet to the participants.
158c2ecf20Sopenharmony_ci	  Several such bridges can work together to create even larger
168c2ecf20Sopenharmony_ci	  networks of Ethernets using the IEEE 802.1 spanning tree algorithm.
178c2ecf20Sopenharmony_ci	  As this is a standard, Linux bridges will cooperate properly with
188c2ecf20Sopenharmony_ci	  other third party bridge products.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	  In order to use the Ethernet bridge, you'll need the bridge
218c2ecf20Sopenharmony_ci	  configuration tools; see <file:Documentation/networking/bridge.rst>
228c2ecf20Sopenharmony_ci	  for location. Please read the Bridge mini-HOWTO for more
238c2ecf20Sopenharmony_ci	  information.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	  If you enable iptables support along with the bridge support then you
268c2ecf20Sopenharmony_ci	  turn your bridge into a bridging IP firewall.
278c2ecf20Sopenharmony_ci	  iptables will then see the IP packets being bridged, so you need to
288c2ecf20Sopenharmony_ci	  take this into account when setting up your firewall rules.
298c2ecf20Sopenharmony_ci	  Enabling arptables support when bridging will let arptables see
308c2ecf20Sopenharmony_ci	  bridged ARP traffic in the arptables FORWARD chain.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	  To compile this code as a module, choose M here: the module
338c2ecf20Sopenharmony_ci	  will be called bridge.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	  If unsure, say N.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig BRIDGE_IGMP_SNOOPING
388c2ecf20Sopenharmony_ci	bool "IGMP/MLD snooping"
398c2ecf20Sopenharmony_ci	depends on BRIDGE
408c2ecf20Sopenharmony_ci	depends on INET
418c2ecf20Sopenharmony_ci	default y
428c2ecf20Sopenharmony_ci	help
438c2ecf20Sopenharmony_ci	  If you say Y here, then the Ethernet bridge will be able selectively
448c2ecf20Sopenharmony_ci	  forward multicast traffic based on IGMP/MLD traffic received from
458c2ecf20Sopenharmony_ci	  each port.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci	  Say N to exclude this support and reduce the binary size.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci	  If unsure, say Y.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciconfig BRIDGE_VLAN_FILTERING
528c2ecf20Sopenharmony_ci	bool "VLAN filtering"
538c2ecf20Sopenharmony_ci	depends on BRIDGE
548c2ecf20Sopenharmony_ci	depends on VLAN_8021Q
558c2ecf20Sopenharmony_ci	default n
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	  If you say Y here, then the Ethernet bridge will be able selectively
588c2ecf20Sopenharmony_ci	  receive and forward traffic based on VLAN information in the packet
598c2ecf20Sopenharmony_ci	  any VLAN information configured on the bridge port or bridge device.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci	  Say N to exclude this support and reduce the binary size.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci	  If unsure, say Y.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciconfig BRIDGE_MRP
668c2ecf20Sopenharmony_ci	bool "MRP protocol"
678c2ecf20Sopenharmony_ci	depends on BRIDGE
688c2ecf20Sopenharmony_ci	default n
698c2ecf20Sopenharmony_ci	help
708c2ecf20Sopenharmony_ci	  If you say Y here, then the Ethernet bridge will be able to run MRP
718c2ecf20Sopenharmony_ci	  protocol to detect loops
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci	  Say N to exclude this support and reduce the binary size.
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci	  If unsure, say N.
76