|
|
Log in / Subscribe / Register

Add support for seg6 tunsrc

From:  Justin Iurman <justin.iurman-AT-6wind.com>
To:  netdev-AT-vger.kernel.org
Subject:  [PATCH iproute2-next v2 0/3] Add support for seg6 tunsrc
Date:  Fri, 20 Mar 2026 15:08:44 +0100
Message-ID:  <20260320140847.1730633-1-justin.iurman@6wind.com>
Cc:  dsahern-AT-kernel.org, stephen-AT-networkplumber.org, andrea.mayer-AT-uniroma2.it, justin.iurman-AT-gmail.com, nicolas.dichtel-AT-6wind.com, stefano.salsano-AT-uniroma2.it, Justin Iurman <justin.iurman-AT-6wind.com>
Archive-link:  Article

This series adds support for the new per-route seg6 "tunsrc" parameter.

Example:

ip -6 r a 2001:db8:1::/64 encap seg6 mode encap tunsrc 2001:db8:ab::
    segs 2001:db8:42::1,2001:db8:ffff::2 dev eth0

Justin Iurman (3):
  uapi: add SEG6_IPTUNNEL_SRC
  seg6: add tunsrc support in iproute_lwtunnel
  man8: update seg6 encap documentation

 include/uapi/linux/seg6_iptunnel.h |  1 +
 ip/iproute_lwtunnel.c              | 31 ++++++++++++++++++++++++++++++
 man/man8/ip-route.8.in             | 13 ++++++++++++-
 3 files changed, 44 insertions(+), 1 deletion(-)

---
v2: include uapi change

v1:
https://lore.kernel.org/netdev/20260316164907.1255510-1-j...

-- 
2.39.2




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds