mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 11:07:39 +07:00
821f1b21ca
This patch adds a new bridge port flag BR_NEIGH_SUPPRESS to suppress arp and nd flood on bridge ports. It implements rfc7432, section 10. https://tools.ietf.org/html/rfc7432#section-10 for ethernet VPN deployments. It is similar to the existing BR_PROXYARP* flags but has a few semantic differences to conform to EVPN standard. Unlike the existing flags, this new flag suppresses flood of all neigh discovery packets (arp and nd) to tunnel ports. Supports both vlan filtering and non-vlan filtering bridges. In case of EVPN, it is mainly used to avoid flooding of arp and nd packets to tunnel ports like vxlan. This patch adds netlink and sysfs support to set this bridge port flag. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
27 lines
789 B
Makefile
27 lines
789 B
Makefile
#
|
|
# Makefile for the IEEE 802.1d ethernet bridging layer.
|
|
#
|
|
|
|
obj-$(CONFIG_BRIDGE) += bridge.o
|
|
|
|
bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
|
|
br_ioctl.o br_stp.o br_stp_bpdu.o \
|
|
br_stp_if.o br_stp_timer.o br_netlink.o \
|
|
br_netlink_tunnel.o br_arp_nd_proxy.o
|
|
|
|
bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
|
|
|
|
bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
|
|
|
|
br_netfilter-y := br_netfilter_hooks.o
|
|
br_netfilter-$(subst m,y,$(CONFIG_IPV6)) += br_netfilter_ipv6.o
|
|
obj-$(CONFIG_BRIDGE_NETFILTER) += br_netfilter.o
|
|
|
|
bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
|
|
|
|
bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o br_vlan_tunnel.o
|
|
|
|
bridge-$(CONFIG_NET_SWITCHDEV) += br_switchdev.o
|
|
|
|
obj-$(CONFIG_NETFILTER) += netfilter/
|