Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp731320pxj; Thu, 17 Jun 2021 12:28:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyga4JlnCSd1OadAPifmeV13Y6rSfTl5sAKuCepKUm7VhGWO1CMlpwIVRiUFSzwwczDCzGB X-Received: by 2002:a92:7f07:: with SMTP id a7mr4502412ild.202.1623958095698; Thu, 17 Jun 2021 12:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623958095; cv=none; d=google.com; s=arc-20160816; b=OmDnHzVJ4VHPVoK9MsZDcG3a7RPHUzj9gzmAadtUxZ0p6a7Ism07lGAwUxbWV64bpf Du4KbIJ5w4qXMLAQexpfMT1CgE+oXCjKuRpddQInXnIOO6HPquXqKjrgvHe8fSKwARpJ 5CpRIkPQfoScPd6UTTb/OIbp2+MJM/Mugol9gbiA1PFA3ld/uMP4wqb4k9zy+Z6Ztzkg PwvLaHSqbWo4k6qXonMTJFwN2ycgH3+Z8gpqtWfGweAZRE4exmxAKC3EQI4uhDMVMpKO a5mkXJqQcdKLuqlzGV5dMPMAuFUlqS3zYwMdzJzV8y9tOcqbq4k0uMwNkon/B5rJ6M6z 0P3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Qy96mS4wBhDdtwz02CQ9oSGXa5g27IUtq3KnMM8Pwyg=; b=USJcrNOE3qQAhNQynPgKWMmN56nn63CTOBlnCWih02v6Sr/kslI+GH+KcVlVk2DU1p Yr+sAl6VuCPtPWohd1PfTHEwed2rSMquxIF6sBLgz9V9EEkKO3SHiXTpIJvfHYxvcYZG CEyNpPKuHLs95IMUm+kwg2hhkrBKeOefG6+Pz4trruSxpyEuQILL+lFxMimdxeQNm36Y oW0+k8nfzp9w+l7ZTcRSU/KtixvI5NzJojd8ruZJImYtn/oYkqy4VSuapdcBOOnmwn3z YCHyu4HvxeTlFvZjmWBgXw8IPMAvlA0Aw+dbVqyMTnkuCya/643PhHw/8s3lMC13Un9z KXGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uniroma2.it Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si7215802jao.107.2021.06.17.12.28.03; Thu, 17 Jun 2021 12:28:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uniroma2.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231723AbhFQRTo (ORCPT + 99 others); Thu, 17 Jun 2021 13:19:44 -0400 Received: from smtp.uniroma2.it ([160.80.6.16]:38435 "EHLO smtp.uniroma2.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231736AbhFQRTm (ORCPT ); Thu, 17 Jun 2021 13:19:42 -0400 Received: from localhost.localdomain ([160.80.103.126]) by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id 15HHH82k014978 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 17 Jun 2021 19:17:09 +0200 From: Andrea Mayer To: "David S. Miller" , Hideaki YOSHIFUJI , David Ahern , Jakub Kicinski , Shuah Khan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Stefano Salsano , Paolo Lungaroni , Ahmed Abdelsalam , Andrea Mayer Subject: [net-next v1 0/2] seg6: add support for SRv6 End.DT46 Behavior Date: Thu, 17 Jun 2021 19:16:43 +0200 Message-Id: <20210617171645.7970-1-andrea.mayer@uniroma2.it> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015 X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SRv6 End.DT46 Behavior is defined in the IETF RFC 8986 [1] along with SRv6 End.DT4 and End.DT6 Behaviors. The proposed End.DT46 implementation is meant to support the decapsulation of both IPv4 and IPv6 traffic coming from a *single* SRv6 tunnel. The SRv6 End.DT46 Behavior greatly simplifies the setup and operations of SRv6 VPNs in the Linux kernel. - patch 1/2 is the core patch that adds support for the SRv6 End.DT46 Behavior; - patch 2/2 adds the selftest for SRv6 End.DT46 Behavior. The patch introducing the new SRv6 End.DT46 Behavior in iproute2 will follow shortly. Comments, suggestions and improvements are very welcome as always! Thanks, Andrea RFC -> v1 patch 1/2, seg6: add support for SRv6 End.DT46 Behavior - add Reviewed-by, thanks to David Ahern. patch 2/2, selftests: seg6: add selftest for SRv6 End.DT46 Behavior - add Acked-by, thanks to David Ahern. [1] https://www.rfc-editor.org/rfc/rfc8986.html#name-enddt46-decapsulation-and-s Andrea Mayer (2): seg6: add support for SRv6 End.DT46 Behavior selftests: seg6: add selftest for SRv6 End.DT46 Behavior include/uapi/linux/seg6_local.h | 2 + net/ipv6/seg6_local.c | 94 ++- .../selftests/net/srv6_end_dt46_l3vpn_test.sh | 573 ++++++++++++++++++ 3 files changed, 647 insertions(+), 22 deletions(-) create mode 100755 tools/testing/selftests/net/srv6_end_dt46_l3vpn_test.sh -- 2.20.1