* [iproute2-next] seg6: man: ip-link.8: add description of NEXT-C-SID flavor for SRv6 End.X behavior
@ 2023-07-31 18:36 Paolo Lungaroni
2023-08-03 20:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Lungaroni @ 2023-07-31 18:36 UTC (permalink / raw)
To: David Ahern, netdev
Cc: Jakub Kicinski, Stephen Hemminger, Stefano Salsano,
Ahmed Abdelsalam, Andrea Mayer, Hangbin Liu, Paolo Lungaroni
This patch extends the manpage by providing the description of NEXT-C-SID
support for the SRv6 End.X behavior as defined in RFC 8986 [1].
The code/logic required to handle the "flavors" framework has already been
merged into iproute2 by commit:
04a6b456bf74 ("seg6: add support for flavors in SRv6 End* behaviors").
Some examples:
ip -6 route add 2001:db8::1 encap seg6local action End.X nh6 fc00::1 flavors next-csid dev eth0
Standard Output:
ip -6 route show 2001:db8::1
2001:db8::1 encap seg6local action End.X nh6 fc00::1 flavors next-csid lblen 32 nflen 16 dev eth0 metric 1024 pref medium
JSON Output:
ip -6 -j -p route show 2001:db8::1
[ {
"dst": "2001:db8::1",
"encap": "seg6local",
"action": "End.X",
"nh6": "fc00::1",
"flavors": [ "next-csid" ],
"lblen": 32,
"nflen": 16,
"dev": "eth0",
"metric": 1024,
"flags": [ ],
"pref": "medium"
} ]
[1] - https://datatracker.ietf.org/doc/html/rfc8986
Signed-off-by: Paolo Lungaroni <paolo.lungaroni@uniroma2•it>
---
man/man8/ip-route.8.in | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index c2b00833..be2ee31a 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -860,10 +860,16 @@ See \fBFlavors parameters\fR section.
.B End.X nh6
.I NEXTHOP
+.RB [ " flavors "
+.IR FLAVORS " ] "
- Regular SRv6 processing as intermediate segment endpoint.
Additionally, forward processed packets to given next-hop.
This action only accepts packets with a non-zero Segments Left
-value. Other matching packets are dropped.
+value. Other matching packets are dropped. The presence of flavors
+can change the regular processing of an End.X behavior according to
+the user-provided Flavor operations and information carried in the packet.
+See \fBFlavors parameters\fR section.
+
.B End.DX6 nh6
.I NEXTHOP
@@ -968,7 +974,7 @@ subset of the existing behaviors.
removes (i.e. pops) the SRH from the IPv6 header.
The PSP operation takes place only at a penultimate SR Segment Endpoint node
(e.g., the Segment Left must be one) and does not happen at non-penultimate
-endpoint nodes.
+endpoint nodes. This flavor is currently only supported by End behavior.
.B usp
- Ultimate Segment Pop of the SRH (not yet supported in kernel)
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [iproute2-next] seg6: man: ip-link.8: add description of NEXT-C-SID flavor for SRv6 End.X behavior
2023-07-31 18:36 [iproute2-next] seg6: man: ip-link.8: add description of NEXT-C-SID flavor for SRv6 End.X behavior Paolo Lungaroni
@ 2023-08-03 20:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-03 20:10 UTC (permalink / raw)
To: Paolo Lungaroni
Cc: dsahern, netdev, kuba, stephen, stefano.salsano, ahabdels.dev,
andrea.mayer, liuhangbin
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber•org>:
On Mon, 31 Jul 2023 20:36:16 +0200 you wrote:
> This patch extends the manpage by providing the description of NEXT-C-SID
> support for the SRv6 End.X behavior as defined in RFC 8986 [1].
>
> The code/logic required to handle the "flavors" framework has already been
> merged into iproute2 by commit:
> 04a6b456bf74 ("seg6: add support for flavors in SRv6 End* behaviors").
>
> [...]
Here is the summary with links:
- [iproute2-next] seg6: man: ip-link.8: add description of NEXT-C-SID flavor for SRv6 End.X behavior
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=64e8c4b6744e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-03 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 18:36 [iproute2-next] seg6: man: ip-link.8: add description of NEXT-C-SID flavor for SRv6 End.X behavior Paolo Lungaroni
2023-08-03 20:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox