Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752267AbdDNQo7 (ORCPT ); Fri, 14 Apr 2017 12:44:59 -0400 Received: from chaos.universe-factory.net ([37.72.148.22]:34252 "EHLO chaos.universe-factory.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751213AbdDNQo4 (ORCPT ); Fri, 14 Apr 2017 12:44:56 -0400 From: Matthias Schiffer To: davem@davemloft.net, jbenc@redhat.com, hannes@stressinduktion.org, pshelar@ovn.org, aduyck@mirantis.com, roopa@cumulusnetworks.com Cc: netdev@vger.kernel.org, dev@openvswitch.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/6] vxlan: cleanup and IPv6 link-local support Date: Fri, 14 Apr 2017 18:44:40 +0200 Message-Id: X-Mailer: git-send-email 2.12.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1440 Lines: 34 Running VXLANs over IPv6 link-local addresses allows to use them as a drop-in replacement for VLANs, avoiding to allocate additional outer IP addresses to run the VXLAN over. Since v1, I have added a lot more consistency checks to the address configuration, making sure address families and scopes match. To simplify the implementation, I also did some general refactoring of the configuration handling in the new first patch of the series. The second patch is more cleanup; is slightly touches OVS code, so that list is in CC this time, too. As in v1, the last two patches actually make VXLAN over IPv6 link-local work, and allow multiple VXLANs wit the same VNI and port, as long as link-local addresses on different interfaces are used. As suggested, I now store in the flags field if the VXLAN uses link-local addresses or not. Matthias Schiffer (6): vxlan: refactor verification and application of configuration vxlan: get rid of redundant vxlan_dev.flags vxlan: improve validation of address family configuration vxlan: check valid combinations of address scopes vxlan: fix snooping for link-local IPv6 addresses vxlan: allow multiple VXLANs with same VNI for IPv6 link-local addresses drivers/net/vxlan.c | 411 ++++++++++++++++++++++++++---------------- include/net/vxlan.h | 3 +- net/openvswitch/vport-vxlan.c | 4 +- 3 files changed, 263 insertions(+), 155 deletions(-) -- 2.12.2