Thread (3 messages) 3 messages, 1 author, 14h ago

[PATCH RFC iproute2-next v5 0/2] seg6: add support for the SRv6 End.MAP behavior under seg6mobile encap

HOTtoday

From: Yuya Kusakabe <hidden>
Date: 2026-10-02 12:32:52

This series adds support for the "seg6mobile" lightweight tunnel, the
iproute2 counterpart of the SRv6 Mobile User Plane (RFC 9433) kernel
RFC series [1], starting with the End.MAP behavior.

Patch 1 imports the new UAPI headers as a standalone patch so it can
be dropped once the matching kernel header lands.  The selftest in
the kernel series needs the "seg6mobile" keyword to run.

[1] https://lore.kernel.org/netdev/20261002-seg6-mobile-end-map-v5-0-30eec37563a8@gmail.com/ (local)

Signed-off-by: Yuya Kusakabe <redacted>
---
Changes in v5:
- Repost alongside the kernel v5; this series is unchanged
- Link to v4: https://lore.kernel.org/r/20260925-seg6-mobile-end-map-v4-0-ba4951d28871@gmail.com (local)

Changes in v4:
- Reject End.MAP without mapped_sid in the parser [Stephen]
- Drop the optional parameter token from the man page synopsis so
  that usage, man page and parser agree [Stephen]
- Link to v3: https://lore.kernel.org/r/20260917-seg6-mobile-end-map-v3-0-7fd02b8b0577@gmail.com (local)

Changes in v3:
- Repost alongside the kernel v3; this series is unchanged
- Link to v2: https://lore.kernel.org/r/20260901-seg6-mobile-end-map-v2-0-05b2ad78b922@gmail.com (local)

Changes in v2:
- Sync the UAPI header with the kernel v2 series (comment wording
  only).
- Document seg6mobile in the man page the way seg6local is: the
  "count" attribute in the synopsis, an ENCAP_SEG6MOBILE grammar
  entry, and End.MAP wording aligned with RFC 9433.
- Align the counters helper comment with the seg6local one.
- Rename the nh6 attribute and keyword to mapped_sid to match the
  RFC 9433 "mapped SID" wording and avoid clashing with the
  SEG6_LOCAL_NH6 nexthop semantics.
- Add Assisted-by tags.
- Link to v1: https://lore.kernel.org/r/20260710-seg6-mobile-end-map-v1-0-970275f3d80b@gmail.com (local)

---
Yuya Kusakabe (2):
      uapi: sync lwtunnel.h and add seg6_mobile.h
      seg6: add support for the End.MAP behavior under seg6mobile encap

 include/uapi/linux/lwtunnel.h    |   1 +
 include/uapi/linux/seg6_mobile.h |  61 ++++++++++++++
 ip/iproute.c                     |   6 +-
 ip/iproute_lwtunnel.c            | 178 +++++++++++++++++++++++++++++++++++++++
 man/man8/ip-route.8.in           |  32 ++++++-
 5 files changed, 275 insertions(+), 3 deletions(-)
---
base-commit: 204a721033556114c81c47d00375f2d52e98e463
change-id: 20260523-seg6-mobile-end-map-6f5560bfb68e

Best regards,
--  
Yuya Kusakabe [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help