[PATCH RFC iproute2-next v2 0/2] seg6: add support for the SRv6 End.MAP behavior under seg6mobile encap
From: Yuya Kusakabe <hidden>
Date: 2026-09-01 02:09:05
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/20260901-seg6-mobile-end-map-v2-0-1629bfc166eb@gmail.com/ (local) Signed-off-by: Yuya Kusakabe <redacted> --- 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://patch.msgid.link/20260710-seg6-mobile-end-map-v1-0-970275f3d80b@gmail.com --- 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 | 173 +++++++++++++++++++++++++++++++++++++++ man/man8/ip-route.8.in | 34 +++++++- 5 files changed, 272 insertions(+), 3 deletions(-) --- base-commit: fce739fa4f2ec83206d8d9435aa94ce22f09cdb1 change-id: 20260523-seg6-mobile-end-map-6f5560bfb68e Best regards, -- Yuya Kusakabe [off-list ref]