🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10834

Re: [PATCH net-next 0/3] seg6_local: add USP and USD flavors support (RFC 8986)

#10834
From: Hangbin Liu
Date: Wed, 04 Nov 2026 07:22
37 lines
9856 bytes
Hi Minhong,
On Tue, Nov 03, 2026 at 02:38:03PM +0800, Minhong He wrote:
> 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).

No, the kernel will not process PSP when it is combined with
NEXT-C-SID at present.

> 
> 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).

Thanks for the patch. Unfortunately, I have already started this work back
in September. I discussed my plan with Andrea at that time. Sadly, I did not
mention this in the cover letter for my PSP support series[1], that’s my mistake.
I didn’t expect someone would skip PSP and start with USP/USD directly.

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.

That said, there is a sequence for landing new features. Right now we need
to wait for Andrea’s NEXT-C-SID and PSP series[2] to get merged into net-next
first.

[1] https://lore.kernel.org/netdev/20260922-srv6_flavors_endx-v1-0-4d01c05c47b7@kylinos.cn/
[2] https://lore.kernel.org/netdev/20261011192310.55-1-andrea.mayer@uniroma2.it/

Thanks
Hangbin
Technical Details
Message-ID: <aurdIlNaqMGsBdkr@fedora>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356250-linux-kernel-netdev=dewy.ru
References: <20261103063806.132152-1-heminhong@kylinos.cn>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356250-linux-kernel-netdev=dewy.ru
From: hangbin.liu@linux.dev (Hangbin Liu)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/3] seg6_local: add USP and USD flavors support
 (RFC 8986)
Date: Wed, 4 Nov 2026 15:22:10 +0800
Organization: Usenet Network
Message-ID: <aurdIlNaqMGsBdkr@fedora>
References: <20261103063806.132152-1-heminhong@kylinos.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3346973"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Xa8qUVwNJ4AiyxKBNc24nRviSVc= sha256:EOA55zWTjx+WKoWz9SL/71V4dYPvH12mFGotgUxS5h0=
	sha1:JodvAikG/7zil2GNgiiSHMleol0= sha256:UUL1kcrstHzy7EFwGowTvhz5Tj0B9EY+1I5b0PPY2JM=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id C079E112B19; Wed,  4 Nov 2026 10:29:30 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=linux.dev
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id uswnYmn39_wt;
	Wed,  4 Nov 2026 10:29:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-356250-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 16544112B0C; Wed,  4 Nov 2026 10:29:13 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id B049E2C077; Wed,  4 Nov 2026 07:22:42 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793776940;
	b=UXmCoy/POFaKFy6BrlwcsI6u8htqgOFSFP96cFg3bpjrJ68NG3uwsdjPOVVst7eRHapZ
	 QqAVn+lkjgM7qFUkiLHmkGpkVXZp5+FDwX7gx/q1HDwka0EHiWQXW3g517OzpXMzjdLRt
	 7GXgDBvqBnjsldvNYFz6S+WrYLVRp0iBo/e6C3AQLn3gchMmJo+TKlRWTmIliiTIuAJXL
	 U46L0ERZKHtIzlGfBQmfnZZYxy2dfRxE39E4/OQSLdwniHHEz2sJL2S4Le2a5g/4rGhpk
	 fGJ+0pBAjLPS5NT6nmCu40dDA99hreFHaPr5T+8w2gnXbUbDjwWu3ma1i80txnC2cmg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793776940;
	h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature:
	 X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=trfQHpaVqDGj7pdAxkIIwslilgVOcChYAvf1fDtPzO0=;
	b=tpxH6ze1MTNYWnRg0ZNJ5y+G+hwqOeR0EkH4w0udIYXzctucl7+Na8SPFj3VkyqUzfM4
	 SQnfk3yY1zgpsyGp0LKDPe6qUlyjZkuLIwYrv9bpiExFBevMLiJrXH/RV+sB0iWlnzXai
	 edzEjptveg8+yorUalJMcojkjmVIE1mgJ+kOOEUiKtYd2iyujruKOsKpxNh5nuZ/eQg77
	 zrWyj8CnGkMqaT9WaFD/8r9rOEYH4GtTkpOa4kY2EfUaMoK6mt70bdroTOQpvafdKvRVa
	 eIM67A9jBxoQNVoKhL6GdpJEHGkqY76KFyAjfWj3MYeDaqaVAgB8u+NgtQpsbQxIwVg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=nuqfDbJI;
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FC1A606EE97;
	Wed,  4 Nov 2026 07:22:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=nuqfDbJI
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.183
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793776939;
	b=fdFpKVQ5ibByS9DVYnowH85Um2TCY17jsJszxlKikcRcxalQSKfiaHX+MPcISUCDHvHJ
	 rxr5xmKdWkM+yzCj8DsZ42eUIGFzVPPEuM9Ep0U5TQfx6by5yY5eVknV2WGH7hS85KEOm
	 FzVYhd/9Vuu4dI+6W78gfN5J15FkOoXRYLGHEr7KEnsp63n0yeB2DB9y39MjjFkb8tfq/
	 m18dXwIGHavW+6MLDOAKe3/tOp7aA3PdDZwpeSB0VeXy2w4Ufijcw2gv+/sMl2xOYTm8c
	 7f0mG6aW12PD8G9i0J4yJcAbDs8O6JH01svLc6tsVbHlpeS00PA8DTrQw2mrlIKV7jg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793776939;
	h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received:
	 X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=trfQHpaVqDGj7pdAxkIIwslilgVOcChYAvf1fDtPzO0=;
	b=KXUJLU17JUVhgsPXV3CxQ39y1VGObDp5TnuKUBSoMApXj3YtRtOaRwgMDxZxMEkIko75
	 RzdbxDF+++zQ5GfgPkjmgC5pBrhjM4op226r33u0o7E3C5X+qr7XmlZXEREres5w8rOHT
	 MjiJ23yVhw4PnUK2AkJq/JMlawxAs2XXMlJEqd6sCbOBJL6SGKWnshe+owoXi09tceeda
	 Xh5M2yJeXalFpNU/VOhRT6MByyTSFWkY1QZ8dphrqrZ0prxrlGH+UYgQXiMqgL/CuswrT
	 B66OVEeZ6eozq4Ztwn81XjgAFZ586Td6CKzT81L5oSrG9ZQwJX63o3d+5BZi3L2UB3g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=nuqfDbJI;
	arc=none smtp.remote-ip=95.215.58.183
X-Received: from mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0038606EE8E
	for <netdev@vger.kernel.org>; Wed,  4 Nov 2026 07:22:18 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F0038606EE8E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=pecwVT+FWwXBdSwWG68tGA8FhqyjXhg5eN//at0UjTc=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1793776937; v=1; x=1794381737;
 b=nuqfDbJIDq2BB7h6N42DikY5/Xxs5nZU3Go4qtLSqXYn9QWX7gwgWu+eDZWSP6vOrgetcwYN
 CCFa+EVJUUZp6PF54fkJX0py2yBOQAhMGZXhBuu5+/Wz2KInw4V8PSpPokKxB4t0JWeCHmmqcjd
 jMYBd7s2CxBh8jS2ufH2fEqc=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by mta12.migadu.com with ESMTPS id b4b72a2dcdbcfd1f;
	Wed, 04 Nov 2026 07:22:16 +0000
X-Mizu-Trace-ID: b4b72a2dcdbcfd1f
X-Migadu-Flow: FLOW_OUT
X-Cc: andrea.mayer@uniroma2.it, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
	horms@kernel.org, linux-kernel@vger.kernel.org,
	Andrea Mayer <andrea@common-net.org>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261103063806.132152-1-heminhong@kylinos.cn>