Article View: linux.kernel.netdev
Article #18394Re: [PATCH net-next v3 5/5] selftests: seg6: add PSP flavor testing for SRv6 End.X
From: Hangbin Liu
Date: Wed, 18 Nov 2026 09:19
Date: Wed, 18 Nov 2026 09:19
34 lines
10001 bytes
10001 bytes
On Wed, Nov 18, 2026 at 03:06:38PM +0800, Hangbin Liu wrote: > Hi Andrea, > On Wed, Nov 18, 2026 at 03:50:10AM +0100, Andrea Mayer wrote: > > > > > > > > Without NEXT-C-SID, get_rt_sid() drops the adjacency, as the Sashiko > > > > review also notes: "4>2:psp:End.X" and "4>3:psp:End.X" would both get > > > > fcff:4::0af1. I think each adjacency should have its own SID. The > > > > SID could carry the adjacency, as the C-SID already does. Then > > > > __setup_rt_policy() needs the new SID. Calling get_rt_sid() there, > > > > as suggested above, would do that. > > > > > > Hmm, do you want to set the adjacency like xaf1 or xxa1? > > > e.g. ffcf:4::2af1 for 4>2:psp:End.X, ffcf:4::3af1 for 4>3:psp:End.X > > > or > > > ffcf:4::42a1 for 4>2:psp:End.X, ffcf:4::43a1 for 4>3:psp:End.X? > > > > > > The second one may also need to adjust the End address. e.g. > > > fcff:x::ef1 -> fcff:x::e1 > > > > The first one you propose, fcff:4::2af1, seems reasonable. The adjacency > > takes the place of the leading 0 of the Function (0af1 -> 2af1). Towards > > the host the 0 stays, as in the C-SID, and the End SIDs do not change. > > What about noflv? e.g. 3>4:noflv:End.X, should we use addr like > fcff:3::4a? Oh, I saw your example in the earlier reply. We should use the format like fcff:3::400a. No need to reply. Thanks Hangbin
Technical Details
Message-ID:
<av1tnEmaTM2pAtBc@fedora>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365978-linux-kernel-netdev=dewy.ruReferences:
<20261112-srv6_flavors_endx-v3-0-c9177bbbd965@kylinos.cn> <20261112-srv6_flavors_endx-v3-5-c9177bbbd965@kylinos.cn> <20261117035021.e724668d726ecce54e091288@uniroma2.it> <avwUzLyWxZl9cBIX@fedora> <20261118035010.e028076fbd99fbcddd937156@uniroma2.it> <av1OftpFCWPLimPx@fedora>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365978-linux-kernel-netdev=dewy.ru From: hangbin.liu@linux.dev (Hangbin Liu) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3 5/5] selftests: seg6: add PSP flavor testing for SRv6 End.X Date: Wed, 18 Nov 2026 17:19:24 +0800 Organization: Usenet Network Message-ID: <av1tnEmaTM2pAtBc@fedora> References: <20261112-srv6_flavors_endx-v3-0-c9177bbbd965@kylinos.cn> <20261112-srv6_flavors_endx-v3-5-c9177bbbd965@kylinos.cn> <20261117035021.e724668d726ecce54e091288@uniroma2.it> <avwUzLyWxZl9cBIX@fedora> <20261118035010.e028076fbd99fbcddd937156@uniroma2.it> <av1OftpFCWPLimPx@fedora> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2552617"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:5WXUIfremW/oDvMKlj2dZVM/koM= sha256:pUheuvJ1A1qSk8GyX5q9X4Czn8xEXs+USxp0gArdC8o= sha1:e0KbMvk6fubt7uKErpvrpaRqZ6A= sha256:nXcYmV+pQymV4Rr8Dj3UE05rU8igaE26HAjBToknpmc= 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 6E036115211; Wed, 18 Nov 2026 12:19:59 +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 sdGCEOHeGKNF; Wed, 18 Nov 2026 12:19:55 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365978-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 62BC21151CF; Wed, 18 Nov 2026 12:19:46 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 466083B38A; Wed, 18 Nov 2026 09:19:44 +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=1794993583; b=EXSwQlYYQe4Ejy74ATFxB+OVbs3IzeaVcBvjiNokVN0R9G2hbE4YMADakp17AOKAL2U4 bzoHlvt7tZzUh5PRMVl73/AitzfGJ02q80nzGzzQxGQdxBvCMQPfaCFNznvzAYHnT+n8+ q31AT9rw+gJ1G9cP0pixhpxDICMEZwfmgL7phjBxTsIwuSpdyY5+pPIWRPBbBsR3inX2H qoLQhdNGgD4y0XO85feYn/h2WZkPPywsUzR1+PozO6RUPy0HjlNr+X4K5ekPvObJeezJy HNFK4RFmX7BMiPJrPvT/DVRJo52bRdwIWndKC00rf06U8LnVsmRvON95aTKwvGnwCQQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794993583; 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:In-Reply-To; bh=ri397ivyt6aPfQFFNso09dyLrQMfhGhibx0HBwogbaM=; b=qSkplmMWxNmEZTISM473w0xy1NYvQ3RucnZEdMUcZCH54CH+jP8t+9UYmCFG0naBpASf qXiYDj56Bx5viFptlYyDoWyNAtLCUN17Xu3DrodbnKSwaFY0l+03Gwl7HMDnQJd75MA6Q GgoDzesQKSIQZddoEXGMJX7/4mUqbjms20540YTD8wLmgca3G3NSqQWqhnE10HSZx4yep duH9tVBnVsfAuIdZKFA0hnhLU3dFNrVGOU56/eAoq3zXJR2nttCgS6hJ3MEPeTlQWBSb1 x9jyn0C1qE+NZbERw3hlNBmheH+vkPlpsJzJDEoPkk7jwhNhno0DTpRoqm3HTbBFrNw== 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=PRn2oYbE; 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 A545A606A337; Wed, 18 Nov 2026 09:19:43 +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=PRn2oYbE X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.209 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794993582; b=2nf6YzKjdfy8OR6nrqxFpq+E3c1uWOmzUPTK+3oEBnTJBDpWSIP+OWMA3FAqNJHN4c4W sbQMai88GelLH/ECCb0gmStxXRtdWdZvD8M3I2KIQczbVw00+Q4TMihwdeJg1UcGGfzGw cbLiywiU35tCpOq8xJacA2TVqXrl0nOz1twgLYxTQ07odrSoI4GQ1OMbP3u1iQgOb3cLo 1vQWHXC+fPU6IwF4809M1lCkh/mTkneB+81PVu+OiudyMO3dAJRXXDAYT8N1GGK3/1tSF OJW5GI6gPjS/8g9+i58+PYiuF7cdnfn5RTdShZ1DzMgr1kC+VkVoEso6F2w1J41pFDw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794993582; 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:In-Reply-To; bh=ri397ivyt6aPfQFFNso09dyLrQMfhGhibx0HBwogbaM=; b=0wXbeShXsvsc4febgxZ15lyL0XtFWmIClhyIm1KwN1n/h8viOrHcoMv7JLjgxUASWhWL J+dDPQiBvdg5wmuKB4h4YJBlMSGzLUX56FUdxtaAxM1yX37tYnJVFBV21ntBqIchB6TFC nmmGFy5NkUEJqEfBnGFAicifZ8fCtmXV9hOP5ANWNjz1oEw9hU0ZmbDjtVSBn3y6/Vf8K Tgge6E56mc7TFR4E26nRwMIajz4S4BjvoLiNp7OvN64PahyeT5K0cQ8YznKqhDYvzIgZh tpIj+4Q43AJh2GHf+ZUA6gUKGv2DDg/9o91b2GRriXBGUaliM0/l8Zf7GkzG+muVs9g== 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=PRn2oYbE; arc=none smtp.remote-ip=95.215.58.209 X-Received: from mta1.migadu.com (out-209.mta1.migadu.com [95.215.58.209]) (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 3B13D606A320 for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 09:19:41 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3B13D606A320 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=Yz7Wt5y85at5AxmKuuWhCUSqjxdfBYCurbD5eS1YmfU=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1794993580; v=1; x=1795598380; b=PRn2oYbENfLPgMH7rdWqUIVdpLCQsd7QQYZNfW2Odh37z6+IsbFCYyKG1TC9IJFmzS4CyXkr yqIC4y3qBKfl4cg3vnyAy/K+RED+RV8EQCYu3hvUofM4jgl5lK0GORNEYp0f81/vIdJ69KPteEv R52est+iZkMBiRaCpWSXfKIs= X-Envelope-To: netdev@vger.kernel.org X-Received: by mta12.migadu.com with ESMTPS id a2db3085dd474efd; Wed, 18 Nov 2026 09:19:40 +0000 X-Mizu-Trace-ID: a2db3085dd474efd X-Migadu-Flow: FLOW_OUT X-Cc: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Hangbin Liu <liuhangbin@kylinos.cn>, Stefano Salsano <stefano.salsano@uniroma2.it>, Justin Iurman <justin.iurman@gmail.com>, 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: <av1OftpFCWPLimPx@fedora>