diff options
| author | David S. Miller <davem@davemloft.net> | 2017-10-08 21:12:04 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-08 21:12:04 -0700 |
| commit | a42317785c898c0ed46db45a33b0cc71b671bf29 (patch) | |
| tree | 029596be24ac5a1203381c0661d35115b82e5d97 /include/linux | |
| parent | 951f788a80ff8b6339c5c1ab888b0d4b4352efd8 (diff) | |
| parent | ed842faeb2bd49256f00485402f3113205f91d30 (diff) | |
| download | cachepc-linux-a42317785c898c0ed46db45a33b0cc71b671bf29.tar.gz cachepc-linux-a42317785c898c0ed46db45a33b0cc71b671bf29.zip | |
Merge branch 'bridge-neigh-msg-proxy-and-flood-suppression-support'
Roopa Prabhu says:
====================
bridge: neigh msg proxy and flood suppression support
This series implements arp and nd suppression in the bridge
driver for ethernet vpns. 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.
v2 : rebase to latest + address some optimization feedback from Nikolay.
v3 : fix kbuild reported build errors with CONFIG_INET off
v4 : simplify port flag mask as suggested by stephen
v5 : address some feedback from Toshiaki
v6 : some v5 cleanups in nd suppress (keep it consistent with arp suppress)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/if_bridge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h index 3cd18ac0697f..316ee113a220 100644 --- a/include/linux/if_bridge.h +++ b/include/linux/if_bridge.h @@ -49,6 +49,7 @@ struct br_ip_list { #define BR_MULTICAST_TO_UNICAST BIT(12) #define BR_VLAN_TUNNEL BIT(13) #define BR_BCAST_FLOOD BIT(14) +#define BR_NEIGH_SUPPRESS BIT(15) #define BR_DEFAULT_AGEING_TIME (300 * HZ) |
