Netdev List
 help / color / mirror / Atom feed
From: Vincent Jardin via B4 Relay <devnull+vjardin.free.fr@kernel.org>
To: David Ahern <dsahern@kernel.org>,
	 Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org, Matthieu Baerts <matttbe@kernel.org>,
	 Vincent Jardin <vjardin@free.fr>
Subject: [PATCH iproute2-next 1/3] uapi: add the attributes of the lisp devices
Date: Fri, 27 Nov 2026 23:37:39 +0100	[thread overview]
Message-ID: <20261127-iproute2-lisp-v1-1-df8ea175bc06@free.fr> (raw)
In-Reply-To: <20261127-iproute2-lisp-v1-0-df8ea175bc06@free.fr>

From: Vincent Jardin <vjardin@free.fr>

Use IFLA_LISP_* from the uAPI header of the kernel

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

Signed-off-by: Vincent Jardin <vjardin@free.fr>
---
 include/uapi/linux/if_link.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 7ce01d81..786a16b3 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -1536,6 +1536,18 @@ enum {
 
 #define IFLA_BAREUDP_MAX (__IFLA_BAREUDP_MAX - 1)
 
+/* LISP section */
+enum {
+	IFLA_LISP_UNSPEC,
+	IFLA_LISP_ID,
+	IFLA_LISP_COLLECT_METADATA,
+	IFLA_LISP_LOCAL,
+	IFLA_LISP_LOCAL6,
+	__IFLA_LISP_MAX
+};
+
+#define IFLA_LISP_MAX (__IFLA_LISP_MAX - 1)
+
 /* PPP section */
 enum {
 	IFLA_PPP_UNSPEC,

-- 
2.43.0



  reply	other threads:[~2026-11-27 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 22:37 [PATCH iproute2-next 0/3] ip: support LISP (RFC 9300) tunnel devices Vincent Jardin via B4 Relay
2026-11-27 22:37 ` Vincent Jardin via B4 Relay [this message]
2026-11-27 22:37 ` [PATCH iproute2-next 2/3] ip: add the lisp link type Vincent Jardin via B4 Relay
2026-11-27 22:37 ` [PATCH iproute2-next 3/3] testsuite: add test for lisp Vincent Jardin via B4 Relay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127-iproute2-lisp-v1-1-df8ea175bc06@free.fr \
    --to=devnull+vjardin.free.fr@kernel.org \
    --cc=dsahern@kernel.org \
    --cc=matttbe@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --cc=vjardin@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox