🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #23761

[PATCH iproute2-next 0/3] ip: support LISP (RFC 9300) tunnel devices

#23761
From: Vincent Jardin via B4 Relay
Date: Fri, 27 Nov 2026 22:37
46 lines
11932 bytes
This series adds the lisp link type to ip, for the LISP (RFC 9300)
tunnel devices of the kernel series
  "lisp: add a LISP (RFC 9300) tunnel device"
posted for net-next:

  https://lore.kernel.org/r/20261126-for-upstream-lisp-v1-v1-0-7382a4bcfd9b@free.fr

The purpose of this serie is to support the selftest of the kernel:

  https://lore.kernel.org/all/8707e3b0-c948-44ea-8afc-d33387925173@kernel.org/

A LISP device carries the packets of an instance ID, or of the
instance IDs that have no device when it collects metadata. The routing
locators of a destination come from the encapsulation of its route or
of its nexthop, which ip already sets: the series only adds the device.

  ip link add link wan name lisp101 type lisp id 101 local 192.0.2.1
  ip -6 nexthop add id 1 encap ip dst 198.51.100.1 dev lisp101
  ip route add 10.2.0.0/24 vrf site nhid 1

Patches:
- patch 1 uAPI header
- patch 2 link type, with its manual page
- patch 3 test

---
Vincent Jardin (3):
      uapi: add the attributes of the lisp devices
      ip: add the lisp link type
      testsuite: add test for lisp

 include/uapi/linux/if_link.h            |  12 +++
 ip/Makefile                             |   2 +-
 ip/iplink.c                             |   2 +-
 ip/iplink_lisp.c                        | 137 ++++++++++++++++++++++++++++++++
 man/man8/ip-link.8.in                   |  66 +++++++++++++++
 testsuite/tests/ip/link/add_type_lisp.t |  59 ++++++++++++++
 6 files changed, 276 insertions(+), 2 deletions(-)
---
base-commit: 8055701cb470fdc9e5e9909369bff3f7e24c872e
change-id: 20261127-iproute2-lisp-639a94e27fe3

Best regards,
-- 
Vincent Jardin <vjardin@free.fr>
Technical Details
Message-ID: <20261127-iproute2-lisp-v1-0-df8ea175bc06@free.fr>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372973-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372973-linux-kernel-netdev=dewy.ru
From: devnull+vjardin.free.fr@kernel.org (Vincent Jardin via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH iproute2-next 0/3] ip: support LISP (RFC 9300) tunnel
 devices
Date: Fri, 27 Nov 2026 23:37:38 +0100
Organization: Usenet Network
Message-ID: <20261127-iproute2-lisp-v1-0-df8ea175bc06@free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="834939"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dec6g4G925443jYzcxHE71w/edw= sha256:yV3jOO91JttEhtCBoMaxI20GnhoYD1cnJsMuABQxRls=
	sha1:96yjNd6DNhh7CVKT7gMyOlL7mkw= sha256:cmn5JRkKAEnWQLMgmJni2d7keLcsLw095T03ZNett3Q=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 763E2125F65; Sat, 28 Nov 2026 01:38:06 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ex3bC6LbvuQh;
	Sat, 28 Nov 2026 01:38:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-372973-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id C8697125F69; Sat, 28 Nov 2026 01:37:54 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id C35092D9E5; Fri, 27 Nov 2026 22:37:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795819071;
	b=Optvt3Bo5NUfigkRN3N+4xkvp5E+68p41w49dlm+89edk3ofCRNUqIv/8CHANNZ0meAB
	 690fqZWQHtOPYfSbKNQCA3xoe7KcXIHptq6unRyYH753Z3F+kUzHg/7r/ulmoH4EvkhMB
	 LkYJDspF56PVaDGT+MG+vgNgBRUcOFKJKRHIVb679Q1JTO+7MI6MIYpCJdH4Hq+n6ptq3
	 adTerCilTqlp0zXgwxF6lVCHBaBFhCj6W6PXUj/Bwu20JUZCUMCyGsHSZHuAFwfwzmKzt
	 XufP11fi87iZl53nL2JnvDdNDRBuZg0V71BeHulrBmXoksCqMdoYy7xeiyaer5UOK4A==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795819071;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Subject:
	 Date:Message-Id:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:X-B4-Tracking:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To;
	bh=tQTuiTysv88wPS84RZ+a9Tm4Wp4SVgkgMieh1jZXifU=;
	b=jgLklsWsvg5emkH9rCROehsQv3rjAJnDqF+vXX8IeRttRUBk/7qsw8tE7bjugAAegPFH
	 9lyc5f+8Ym5kRS/GhEZ1fqNcEPZzOhaoekUGRrkv46gZGSCwTnLyb4N6fMJeW4OtwAb0K
	 vS0TBTHWYKhiYWW6A9SSdMyslMwkT2cP8hYZfQay2XbCkYaWpiUAbAGt6AUai11FJAaTo
	 UE1YccvLoUrTwzV12CmFcc2HknJILWaoqlvRZymKUxwY672YPTtjL3uAmXNmO6m8wmcLZ
	 D7jJtl9hMdKfR0oYPq/PvVMpAYEBv4ket5uRmXYtvxIVgbzIyNWzbnk41ecuxya+5CQ==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kTyIZjBh;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B82F606A327;
	Fri, 27 Nov 2026 22:37:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kTyIZjBh
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795819070;
	b=5hdpogvi0Mvv0kwXqhe4eo+HgxtTG5BJBFX0I3a3bhybtxEr6uTFe6QTtCot9T4uM3oD
	 SkywEFzKPEnhxVzQqsQtpLAEVph6zapTvzpOmwUeXxiXMgo+AA4JagOcoAYS0bTJLy4zO
	 +ynw38vZ6mnSRqDyzb3bCzoOFk4AUg4P4JV7AtheR4qLU/dF1dr74DtwLZgMBM0SaeGeV
	 SJtuNTU36WZxzYTXBMtPAR0PGr9WuJRhnIg1U0+gouB654Lr5QelQcy1wUKBYNI+ds1x3
	 F0tkS0x2DU0TH3rlKaH6KqlX/bVOmO00bKNVDzwCfXs5zlokmmkHQsULjAacF7yOoww==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795819070;
	h=Received:DKIM-Signature:Received:From:Subject:Date:Message-Id:
	 MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking:To:
	 Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To;
	bh=tQTuiTysv88wPS84RZ+a9Tm4Wp4SVgkgMieh1jZXifU=;
	b=odQpF7GPvuP9yM7d2rxDEo8SdFrXgEbKG3aeWidNJhX29koyG6X+WY4qN1XuyqFv3Xo+
	 /gfa+tUFxy9F2r8OXPAMcykV2iBT4pOPAZB3KgHX3M4SbO4k8iJRi2pcNDPy3EXm0XxEA
	 s2TrPOrOVPIPmlrOScT6/0XwNDf4uAyTF9uGJdYhoilZ9O5Yx02X7bDOukve+D/zrrD+6
	 2HbSZU8OHqF0VaEKZCGzuXqMzD3PjwqHes0A5BuxtTcHGgPbQHE0LZj2mIfp36f5l6adn
	 /EpqpCBymPHUloZ46O6jRu4IB1C6aIzgND5RW+99yYjBe8stKcXyDOAbQkxtlh9DwAQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kTyIZjBh;
	arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43DE9606A31C
	for <netdev@vger.kernel.org>; Fri, 27 Nov 2026 22:37:50 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none;
	t=1795819069;
	b=l2+pWGwaauJJQqZ5M8YKUAjuVpgwrVyYJXlKp9Wi012GFRuYkh7yAPCKB4gAiLSf1yBz
	 xtwkrxXVlEiZlUuCtuDObl4VNF6JsfHQx4vZNG0Frnq4s5mlHP5oc1/EJXSkG8n1BEsTG
	 jiDINYdFn28e3cyVht646VU2qI2aiXmenWFNculimlz4TgnV9JdvLoSbVmtVJO/xG1K8f
	 qiKvZ4cfyM++gU8XOMApphM0cxQYhVqmT7rxIVn+C9wTsVZSSncJpZJd6fjPYmLKK+vf2
	 8+h63i8ae2G5Ef2GUY1UvawzFx3RIrFXdGRsWRhrFQ6Myi27mmup6Cc9UMfzWgYHClw==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1795819069;
	h=DKIM-Signature:Received:From:Subject:Date:Message-Id:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:X-B4-Tracking:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To;
	bh=tQTuiTysv88wPS84RZ+a9Tm4Wp4SVgkgMieh1jZXifU=;
	b=m4r53syJanrqqToX/12zXDcg1oLBqZvF0WpJR1La+Q3UquenOdliLiz8tXUeHotV2BE4
	 xfO7Xfez4Ar87N7sTEHUQtdMxLASx/qpz97qFoiE3LUQVdVNORllpJKmWfHgu4KuJ6KW+
	 /rgq5iyZ91vkJ5WJ7thrbhAF/+sNo0OQepeNhC8RfkoodFKc2biaIN32eZ1j7ftXe1RZL
	 yr2k8PbB2OqKq8AAr7CC8s7X5eYK3mZMSUlw/bjpLz6rngI4+ACS7Tku9qPz81ZkQstAI
	 Ak5AKaTCN8Rqx7POXekueUAqUlNxN36X6h1dGPGIl9SMjOcPi9sI72l0eoeBwOFoqcg==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; 
	arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.kernel.org (Postfix) with ESMTPS id 2DC731F00897;
	Fri, 27 Nov 2026 22:37:45 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795819069;
	bh=tQTuiTysv88wPS84RZ+a9Tm4Wp4SVgkgMieh1jZXifU=;
	h=From:Subject:Date:To:Cc:Reply-To;
	b=kTyIZjBh0W7X2aKtBXKsrKQXTvAzOwUuGADvBR8yJlq7U1zyIEP0M+8dY4EdxrjUQ
	 ix1zsD6HdDyQwfOxtINTbF3o9WT3qA5xoLjK3f2xSfmj6m4P34AW98T9mzGuNMynKB
	 MZ2hIzzQNIH774hcYr7GS0pJRdZSTLAZ8jOPln7Au31IlDJ8vC5AL8eOkq05KlYJ37
	 0LQFDsd06nXtmAAWBVS3ARFWPgi6e0o29ziLtBRp9JE5SvlcTSCSvF/nwwQ0p9oh7X
	 Wxriuw/zYVohYIDtkVC23fCpnNLxhW07Zr3OdJt9/ebZpn47BYARh2gqMJqRxn07lo
	 XF6M3I9EkiT1w==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id 825F14DE56;
	Fri, 27 Nov 2026 22:37:44 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-B4-Tracking: v=1; b=H4sIADIGCmsC/z2M0QpAMBhGX0X/tZX9NPEqciG+8ZdmbUjJu1suX
 J4659wUEQSR2uymgFOibC6BzjMal8HNUDIlJi7YaM21Eh+2YwerVaJXpmyGpgLXFiWlxgdYub5
 fR7/qcO3UP88LyedEtm4AAAA=
X-Cc: netdev@vger.kernel.org, Matthieu Baerts <matttbe@kernel.org>, 
 Vincent Jardin <vjardin@free.fr>
X-Mailer: b4 0.13.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1795819063; l=1702;
 i=vjardin@free.fr; s=20260525; h=from:subject:message-id;
 bh=7nd6BlqaJsHgxYsTrMLtC0L57s6XiuJ62VdGDLEwrvw=;
 b=WHzsU4HmU2rdBO7RCecfGGKZX0kQYFjNY4iJ3rNAc4i+PU5BSlwio9yzH1DVUGMWfniADGx7i
 vwCJH+vpSXpCSIQO3IM64IjtPeMijPHRytppnHeKs9A8D9XJl0wjTvX
X-Developer-Key: i=vjardin@free.fr; a=ed25519;
 pk=hppgLeFpGpKOi7LNwGEZ4jOYofJCoGd4Jf1ltAabiLw=
X-Endpoint-Received: by B4 Relay for vjardin@free.fr/20260525 with
 auth_id=871
X-Original-From: Vincent Jardin <vjardin@free.fr>
X-Reply-To: vjardin@free.fr