diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2017-10-06 22:12:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-08 21:12:04 -0700 |
commit | 821f1b21cabb46827ce39ddf82e2789680b5042a (patch) | |
tree | d5d161286e665694818231b33c4cfe38264a1079 /include/uapi/linux | |
parent | 951f788a80ff8b6339c5c1ab888b0d4b4352efd8 (diff) | |
download | linux-stable-821f1b21cabb46827ce39ddf82e2789680b5042a.tar.gz linux-stable-821f1b21cabb46827ce39ddf82e2789680b5042a.tar.bz2 linux-stable-821f1b21cabb46827ce39ddf82e2789680b5042a.zip |
bridge: add new BR_NEIGH_SUPPRESS port flag to suppress arp and nd flood
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>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index cd580fc0e58f..b037e0ab1975 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -327,6 +327,7 @@ enum { IFLA_BRPORT_VLAN_TUNNEL, IFLA_BRPORT_BCAST_FLOOD, IFLA_BRPORT_GROUP_FWD_MASK, + IFLA_BRPORT_NEIGH_SUPPRESS, __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |