From: Justin Iurman <justin.iurman@6wind.com>
To: netdev@vger.kernel.org
Cc: dsahern@kernel.org, stephen@networkplumber.org,
andrea.mayer@uniroma2.it, justin.iurman@gmail.com,
nicolas.dichtel@6wind.com, stefano.salsano@uniroma2.it,
Justin Iurman <justin.iurman@6wind.com>
Subject: [PATCH iproute2-next v2 3/3] man8: update seg6 encap documentation
Date: Fri, 20 Mar 2026 15:08:47 +0100 [thread overview]
Message-ID: <20260320140847.1730633-4-justin.iurman@6wind.com> (raw)
In-Reply-To: <20260320140847.1730633-1-justin.iurman@6wind.com>
Include "tunsrc" in the man page.
Signed-off-by: Justin Iurman <justin.iurman@6wind.com>
---
man/man8/ip-route.8.in | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index aafa6d98a4c2..9f29fd436f59 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -240,7 +240,9 @@ throw " | " unreachable " | " prohibit " | " blackhole " | " nat " ]"
.IR ENCAP_SEG6 " := "
.B seg6
.BR mode " [ "
-.BR encap " | " encap.red " | " inline " | " l2encap " | " l2encap.red " ] "
+.BR encap " | " encap.red " | " inline " | " l2encap " | " l2encap.red " ] ["
+.B tunsrc
+.IR ADDRESS " ]"
.B segs
.IR SEGMENTS " [ "
.B hmac
@@ -893,6 +895,15 @@ applying the reduced segment list. When there is only one segment
and the HMAC is not present, the SRH is omitted.
.sp
+.B tunsrc
+.I ADDRESS
+- IPv6 address of the tunnel source (outer header), not used with inline mode.
+It is optional: if not provided, the tunnel source address is chosen based on
+the per-netns configuration ("ip sr tunsrc set ADDRESS") or, if not configured,
+it is dynamically resolved. If provided, it takes priority over the per-netns
+configuration and dynamic resolution.
+.sp
+
.I SEGMENTS
- List of comma-separated IPv6 addresses
.sp
--
2.39.2
prev parent reply other threads:[~2026-03-20 14:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-20 14:08 [PATCH iproute2-next v2 0/3] Add support for seg6 tunsrc Justin Iurman
2026-03-20 14:08 ` [PATCH iproute2-next v2 1/3] uapi: add SEG6_IPTUNNEL_SRC Justin Iurman
2026-03-20 14:08 ` [PATCH iproute2-next v2 2/3] seg6: add tunsrc support in iproute_lwtunnel Justin Iurman
2026-03-20 14:08 ` Justin Iurman [this message]
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=20260320140847.1730633-4-justin.iurman@6wind.com \
--to=justin.iurman@6wind.com \
--cc=andrea.mayer@uniroma2.it \
--cc=dsahern@kernel.org \
--cc=justin.iurman@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=stefano.salsano@uniroma2.it \
--cc=stephen@networkplumber.org \
/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