From patchwork Wed May 20 15:21:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadim Fedorenko X-Patchwork-Id: 218893 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03EA5C433DF for ; Wed, 20 May 2020 15:21:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 81F3F20708 for ; Wed, 20 May 2020 15:21:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=novek.ru header.i=@novek.ru header.b="qGDHobg8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726785AbgETPVw (ORCPT ); Wed, 20 May 2020 11:21:52 -0400 Received: from novek.ru ([213.148.174.62]:60410 "EHLO novek.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726560AbgETPVw (ORCPT ); Wed, 20 May 2020 11:21:52 -0400 Received: from nat1.ooonet.ru (gw.zelenaya.net [91.207.137.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id 15DE4502966; Wed, 20 May 2020 18:21:46 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru 15DE4502966 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1589988106; bh=Vhv9ezsDEnHfNlG8ls6w2p56J/BwN5YUGBmRh+PSQlo=; h=From:To:Cc:Subject:Date:From; b=qGDHobg82HKqKknS3if3IWfXpvwaz2NtMVeIAH+EHuX/c5H6aF6+YtrajTLmEw+px 7ASKDgWLRtPrARLFkXS/QNekRT0sn5WkxmBGo9Tt1YwFe+/PrfLZH9y2anGAMMfKz5 U4mG16RqBqTlHEpH1+xrslKNSBXcfPt46UAHTSKI= From: Vadim Fedorenko To: "David S. Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI Cc: Jakub Kicinski , netdev@vger.kernel.org, Vadim Fedorenko Subject: [net-next v2 0/5] ip6_tunnel: add MPLS support Date: Wed, 20 May 2020 18:21:34 +0300 Message-Id: <1589988099-13095-1-git-send-email-vfedorenko@novek.ru> X-Mailer: git-send-email 1.8.3.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The support for MPLS-in-IPv4 was added earlier. This patchset adds support for MPLS-in-IPv6. Changes in v2: - Eliminate ifdefs IS_ENABLE(CONFIG_MPLS) Vadim Fedorenko (5): ip6_tunnel: simplify transmit path ip6_tunnel: add MPLS transmit support tunnel6: support for IPPROTO_MPLS ip6_tunnel: add generic MPLS receive support mpls: Add support for IPv6 tunnels net/ipv6/ip6_tunnel.c | 252 +++++++++++++++++++++++++++++--------------------- net/ipv6/tunnel6.c | 96 ++++++++++++++++++- net/mpls/af_mpls.c | 3 +- 3 files changed, 242 insertions(+), 109 deletions(-)