🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8407

Re: [PATCH 0/3] net: ioam6: makes IOAM insertion transparent to IPv6 ECMP

#8407
From: Hangbin Liu
Date: Thu, 29 Oct 2026 00:38
34 lines
10143 bytes
Hi Jakub,
On Wed, Oct 28, 2026 at 04:58:12PM -0700, Jakub Kicinski wrote:
> On Wed, 28 Oct 2026 16:01:13 +0800 Hangbin Liu wrote:
> > On Wed, Oct 28, 2026 at 01:45:28PM +0800, Hangbin Liu wrote:
> > > This series makes IOAM insertion transparent to IPv6 ECMP, as required
> > > by RFC 9486 (C2): a packet carrying IOAM options must be forwarded
> > > along the same path as the identical packet without them.  
> > 
> > Sorry, forgot to add target repo "net". I will add it in next version.
> 
> CI bot says:
> 
> The new selftest added alongside this series (tools/testing/selftests/net/ioam6_ecmp.sh)
> is failing in our CI on the "Transit input ECMP with/without IOAM" scenario:
> 
>   TEST: Transit input ECMP with/without IOAM (diverged on seed 1: without IOAM via
>         link A, with IOAM via link B)   [FAIL]
>   TEST: Transit input ECMP with/without IOAM (seed 2..12)                [ OK ]
>   TEST: Encapsulating node re-lookup ECMP with/without IOAM (seed 1..12) [ OK ]
> 
> 11 of the 12 "transit input" seeds pass, and the whole "encapsulating node re-lookup"
> scenario passes on all seeds, so this looks like an edge case in the Hop-by-Hop
> nexthdr-recovery logic used for the policy-0 multipath hash, rather than a test
> infra/flake issue. Could you take a look at whether the recovered "virtual" nexthdr
> (or the padding/option-length walk used to compute it) is correct for all IOAM option
> layouts/trace sizes, since one specific packet still ends up hashed to a different ECMP
> sibling than the equivalent packet without IOAM?

Thanks for the report. I run it locally multi times and didn't got this issue.
I will try reproduce it first and check the reason.

Thanks
Hangbin
Technical Details
Message-ID: <auKVkslL-fBrMl7t@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-353099-linux-kernel-netdev=dewy.ru
References: <20261028-ipv6_ioam_ecmp-v1-0-9b6715b6f4c0@kylinos.cn> <auGryXdPv2mx0qlp@fedora> <20261028165812.1b40d1d4@kernel.org>

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-353099-linux-kernel-netdev=dewy.ru
From: hangbin.liu@linux.dev (Hangbin Liu)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 0/3] net: ioam6: makes IOAM insertion transparent to IPv6
 ECMP
Date: Thu, 29 Oct 2026 08:38:42 +0800
Organization: Usenet Network
Message-ID: <auKVkslL-fBrMl7t@fedora>
References: <20261028-ipv6_ioam_ecmp-v1-0-9b6715b6f4c0@kylinos.cn>
 <auGryXdPv2mx0qlp@fedora>
 <20261028165812.1b40d1d4@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1902667"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:eOHJ/K+qz0rgFELN8W8Ls5LUkgQ= sha256:Teg1ahsmQ9Kcfg/DWupzpTotIZxuz4UHrodliIb8Uug=
	sha1:nA5++Qfj/mi0KzfVpRjuv6PJ6tg= sha256:/hrlKvMx2Wlju68prNYeFefiKLAdnJn5jOacOrtaIEM=
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 44B65125C51; Thu, 29 Oct 2026 03:39:44 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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.25,
	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 sJEdmJVwJtic;
	Thu, 29 Oct 2026 03:39:41 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353099-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 13872125C4E; Thu, 29 Oct 2026 03:39:31 +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 AABF128498; Thu, 29 Oct 2026 00:39:11 +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=1793234351;
	b=wLA+qsEufWWj356hSOJli7XSCmeSK3ok4ECeUpqbku+SQILjGKp5DrsmoyrBb+N5sX+4
	 M+GsD0+siH4ZK3/vK+293o0CCBBhUfr+ntlRRDnv0DuR6kJx6tjYEuQYD73CXo9cypsmK
	 qQ8imQ3dCD4L/Vc07uAnhuqT8v6E3KCbkCl3QVVDvzYVfk+cz13mHelk83eIMwHOAEhZe
	 i6MPZ9FfKapBEbCXKQQBxAArcU1T7n3qBUJopEmLrkGZUaqKvPpZhnbWzVM71nruimWB2
	 mIAhxrzckWtHL6cGXIqxfV0wahY/5mYLUyEErVBOqCzEn6bSmbaTJPJ6pAH3rcwtRFQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793234351;
	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=LGUbBch1/OYdHnTxkjCH2wbrptcygGBhOyaO0PaTRYo=;
	b=VfNDYRp8gqaLzcE4pfLTURCq9AqdHsxZLdrE4fJYnrz1kdF8M++HcaSSSVQhFOHOU4k3
	 S9p6f7NurXo+2Cwvm4ChitEkKb0KIwNziqU6GkCN+zl+LCQc+9uZfkRpYttElkyOoIbE8
	 fUnEiyNMp7S2ld1s/oomqxs6a+s3b0GOTc/NV/FmWUlQxLf9xMF9GBOwc2uk3hZ5Yz/em
	 X+SjAFL64E+RrVp7p5i0B3LE7kWZNoRk2yw01iBYvMyGzTyJjLA4QuUlCgJg/BJgXbFdO
	 afekCV4Gz7MB6FA3te4Wj000YxYUvW1E4Qx3q3y7ZiX8o9DRbQvp/n4AxpT4U5TRuoA==
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="A/Eks8PX";
	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 7D278606A320;
	Thu, 29 Oct 2026 00:39:11 +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=A/Eks8PX
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.80
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793234335;
	b=z7kc4ItAb8IRsoFYmVV9F8VweU8+yADqldzE/J6AlVUxEys4tOVxeGs7ylQZH+aKQgfR
	 5HQycWaVINmbKMfr9upubCvMmrgvHErKTy8No2lyc6hkOcLJH5jwXrxFWHQTH7obl7xuL
	 euC0fbXBpBHtbm7Q75GhDF/nr2uyZCAXIWNPbSOB5lxSmJ6LovL2nF4nt8LiZj8/m4Vli
	 sejQuwZsW+Db3bVQ/UvLB+Rxm9RbFQyoLNmHb3PhKmSdUL86W/lZ9PCV7YoECQwtJPZee
	 AxD67VRocBZGbUS0ia9k4SnKQJj6n1SlA7++/zScW+BnwxShBUrLqDgd7rxk+5IDjnQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793234335;
	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=LGUbBch1/OYdHnTxkjCH2wbrptcygGBhOyaO0PaTRYo=;
	b=qgzIJLKiGMb6OFkEXzz264nBquUU6brqVvDw6HP2N2vNq/oHBNdTxRIBS1G++eEouxIH
	 PPqJeA47T9BJcBAZG9LhtG5KohwqLYk05cafXbNk4M7CtIQsnBQxFy59rftC7iKJFP804
	 C+Kbns9/LNWhD9PAvXTs9rTBMdisLMl/YvcIZqNb+8aCThuWOkTb1/jjCVGc6DgvXnsld
	 wMlARdxv+VbF/svugxeKBRqqfsQHc+WZdgmzpIb3BRC1VtC4o4hBqkTpbQcRPs8Jaf55k
	 0DwDCFWYVRy3kyOP6w1l+/1fPp2IUzoju/uxBklJMAEVAfoZNG9+NG5EtcGFuzmx3Dg==
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="A/Eks8PX";
	arc=none smtp.remote-ip=91.218.175.80
X-Received: from mta0.migadu.com (out-80.mta0.migadu.com [91.218.175.80])
	(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 B2EE4606A31A
	for <netdev@vger.kernel.org>; Thu, 29 Oct 2026 00:38:52 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B2EE4606A31A
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=tmMY9UeHWouXSyJW7uvlBsehOpe1njzsUfCIaw1Ok5Q=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1793234330; v=1; x=1793839130;
 b=A/Eks8PXc7FJckhaxUn8SyM1BRDX9urOaWjFyjZ0PVkxId2TUF3fDEofy/tNUC8tWxU9tOGp
 CkecdiMyfk2J6u56gUFscfMci24BqlNgix3fCfGy5d8pVESriT01AeE2+RYWpcZ9DmVBiULSXqC
 qZx+Of8cixvjNA3MS2HOmrR4=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by mta11.migadu.com with ESMTPS id 435ee883788e7d0a;
	Thu, 29 Oct 2026 00:38:50 +0000
X-Mizu-Trace-ID: 435ee883788e7d0a
X-Migadu-Flow: FLOW_OUT
X-Cc: David Ahern <dsahern@kernel.org>, Ido Schimmel <idosch@nvidia.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	Justin Iurman <justin.iurman@gmail.com>,
	Shuah Khan <shuah@kernel.org>, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
	Hangbin Liu <liuhangbin@kylinos.cn>
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: <20261028165812.1b40d1d4@kernel.org>