mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH net-next 0/3] seg6_local: add USP and USD flavors support (RFC 8986)
@ 2026-11-19  0:25 Saphal Poudyal
  2026-11-19  0:46 ` Hangbin Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Saphal Poudyal @ 2026-11-19  0:25 UTC (permalink / raw)
  To: Hangbin Liu, Minhong He
  Cc: andrea.mayer, davem, edumazet, kuba, pabeni, netdev, horms,
	linux-kernel, Andrea Mayer

On 11/4/26 01:22, Hangbin Liu wrote:

> Kernel changes alone are not sufficient, we also need selftest updates for
> this new feature. So I’ve begun adding PSP support for End.X, along with the
> corresponding selftests. The USP/USD kernel updates are already in my local
> tree.
Hi Hangbin,

Good to hear that work has been started on this. For USD, this series
only defines USD for decapsulating behaviors (End.DX4, End.DT6 etc.). I
wanted to confirm if your USD work covers End, End.X and End.T as
specified in RFC 8986 section 4.16.3.

It's a piece I need to make SRv6 TI-LFA work (terminate the repair
tunnels). I'm working through FRR's SRv6 TI-LFA and it leaves out the
decapsulation part on the Q-node.

I'd be glad to test your series with FRR once it's posted.

Thanks,
Saphal


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH net-next 0/3] seg6_local: add USP and USD flavors support (RFC 8986)
@ 2026-11-03  6:38 Minhong He
  2026-11-04  7:22 ` Hangbin Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Minhong He @ 2026-11-03  6:38 UTC (permalink / raw)
  To: andrea.mayer, davem, edumazet, kuba, pabeni, netdev
  Cc: horms, linux-kernel, Minhong He

RFC 8986 defines the PSP, USP and USD flavors for the SRv6 End
behaviors. Currently, the Linux SRv6 implementation (seg6_local)
only supports the PSP flavor (combined with the NEXT-C-SID
flavor).

This patch series adds support for the USP (Ultimate Segment Pop
of the SRH) flavor to the End, End.X and End.T behaviors, and for
the USD (Ultimate Segment Decapsulation) flavor to the SRv6 End
behaviors that perform the decapsulation of the packet (i.e.,
End.DX4, End.DX6, End.DT4, End.DT6, End.DT46).

Patch overview:

- Patch 1 implements the USP flavor for the End behavior by
  extending the RFC 8986 flavor action table with the entries
  required to process the combinations of packet info and the USP
  flavor (either alone or combined with the PSP flavor);

- Patch 2 adds the USD flavor support to the decap behaviors.
  Since these behaviors already remove the outer IPv6 header (and,
  as a consequence, the SRH too) as part of the decapsulation
  process, the USD flavor is only supported at the control plane
  level, to ease the interoperability with control planes (e.g.,
  IS-IS, BGP-LS) which can advertise SIDs with the USD flavor;

- Patch 3 extends the USP flavor support to the End.X and End.T
  behaviors, which can now take advantage of the flavor action
  table mechanism introduced in patch 1.

The series has been applied and tested on top of linux-next
(next-20261102).

Minhong He (3):
  seg6_local: implement USP flavor for the End behavior
  seg6_local: support USD flavor for decap behaviors
  seg6_local: add USP flavor support to End.X and End.T

 net/ipv6/seg6_local.c | 163 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 143 insertions(+), 20 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-19  0:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19  0:25 [PATCH net-next 0/3] seg6_local: add USP and USD flavors support (RFC 8986) Saphal Poudyal
2026-11-19  0:46 ` Hangbin Liu
  -- strict thread matches above, loose matches on Subject: below --
2026-11-03  6:38 Minhong He
2026-11-04  7:22 ` Hangbin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®