From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roopa Prabhu Subject: [PATCH net-next v2 0/3] bridge: neigh msg proxy and flood suppression support Date: Tue, 3 Oct 2017 11:21:13 -0700 Message-ID: <1507054876-16746-1-git-send-email-roopa@cumulusnetworks.com> Cc: netdev@vger.kernel.org, nikolay@cumulusnetworks.com, stephen@networkplumber.org, bridge@lists.linux-foundation.org To: davem@davemloft.net Return-path: Received: from mail-pg0-f51.google.com ([74.125.83.51]:52703 "EHLO mail-pg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdJCSVW (ORCPT ); Tue, 3 Oct 2017 14:21:22 -0400 Received: by mail-pg0-f51.google.com with SMTP id i195so5160814pgd.9 for ; Tue, 03 Oct 2017 11:21:22 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: Roopa Prabhu 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_ARP_PROXY flag but has a few semantic differences to conform to EVPN standard. In case of EVPN, it is mainly used to avoid flooding to tunnel ports like vxlan. Unlike the existing flags it suppresses flood of all neigh discovery packets (arp, nd) to tunnel ports. v2 : rebase to latest + address some optimization feedback from Nikolay. Roopa Prabhu (3): bridge: add new BR_NEIGH_SUPPRESS port flag to suppress arp and nd flood neigh arp suppress first bridge: suppress nd messages from going to BR_NEIGH_SUPPRESS ports include/linux/if_bridge.h | 1 + include/uapi/linux/if_link.h | 1 + net/bridge/Makefile | 2 +- net/bridge/br_arp_nd_proxy.c | 492 +++++++++++++++++++++++++++++++++++++++++++ net/bridge/br_device.c | 18 ++ net/bridge/br_forward.c | 3 +- net/bridge/br_if.c | 5 + net/bridge/br_input.c | 73 ++----- net/bridge/br_netlink.c | 16 +- net/bridge/br_private.h | 9 + net/bridge/br_sysfs_if.c | 2 + 11 files changed, 561 insertions(+), 61 deletions(-) create mode 100644 net/bridge/br_arp_nd_proxy.c -- 2.1.4