From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=from:to:cc:subject:date:message-id; bh=VQYjlpXmR429B8EJXLUe/kbo99djJ1aMpbzuGX3Pi5Y=; b=LuONDb+fGMKKsuhvulBnVBfW2+oG06cscn5Qq6W/e5RIY/C0DxTLsrLMcXWOHB1sJU wJKR7QPciWvjWP574ds3oMVpODjF2fPDi24vueOnzs2Aek9ubZkBIqrwTaZN0MSmwVaG aKGNIqJIrTiEvb9BCOGPU6YkuVpcEMCn1nNC8= From: Roopa Prabhu Date: Sun, 1 Oct 2017 21:36:55 -0700 Message-Id: <1506919018-27875-1-git-send-email-roopa@cumulusnetworks.com> Subject: [Bridge] [PATCH net-next 0/3] bridge: neigh msg proxy and flood suppression support List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: davem@davemloft.net Cc: nikolay@cumulusnetworks.com, netdev@vger.kernel.org, bridge@lists.linux-foundation.org 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/mpls. Unlike the existing flags it suppresses flood of all neigh discovery packets (arp, nd) to tunnel ports. 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