Article View: linux.kernel.netdev
Article #27227Re: [PATCH net-next v6 3/6] selftests: seg6: move SRv6 End PSP setup into its own helper
From: Andrea Mayer
Date: Sat, 05 Dec 2026 03:20
Date: Sat, 05 Dec 2026 03:20
26 lines
11076 bytes
11076 bytes
On Wed, 02 Dec 2026 16:46:29 +0800 Hangbin Liu <hangbin.liu@linux.dev> wrote: > From: Hangbin Liu <liuhangbin@kylinos.cn> > > setup() installs both the base topology and the End PSP policies. That > couples general test setup with one specific flavor scenario and makes > it hard to add further flavor cases cleanly. > > Extract the End PSP policy setup into setup_end_flv_psp() so flavor > tests can set up and later tear down independently (the matching > cleanup arrives in a following patch). > > Run the block under set -e so a setup failure is treated as an error > instead of falling through into the connectivity checks. When deciding > to report the run as skipped, keep any failure already recorded by a > test, so a real failure is not converted into a skip. > > Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn> > [snip] Reviewed-by: Andrea Mayer <andrea.mayer@uniroma2.it> Thanks, Andrea
Technical Details
Message-ID:
<20261205042016.7390f284bb7bd51d671d6b07@uniroma2.it>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377811-linux-kernel-netdev=dewy.ruReferences:
<20261202-srv6_flavors_endx-v6-0-4e50b828e702@kylinos.cn> <20261202-srv6_flavors_endx-v6-3-4e50b828e702@kylinos.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377811-linux-kernel-netdev=dewy.ru
From: andrea.mayer@uniroma2.it (Andrea Mayer)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6 3/6] selftests: seg6: move SRv6 End PSP
setup into its own helper
Date: Sat, 5 Dec 2026 04:20:16 +0100
Organization: Usenet Network
Message-ID: <20261205042016.7390f284bb7bd51d671d6b07@uniroma2.it>
References: <20261202-srv6_flavors_endx-v6-0-4e50b828e702@kylinos.cn>
<20261202-srv6_flavors_endx-v6-3-4e50b828e702@kylinos.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2943186"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:U86JNqcFFVcMucxhsQYz1cg+qyI= sha256:J7lu51meaU11wXvarjckRSrdWEqAy8HagjW+VXTCLaE=
sha1:RGvkhSKCjfCxLMDdOV6JBzW2Oeg= sha256:eRTUzSkeFAZEqiCJU4vzP42GGNg9SdrnIoMmCfh9Fvc=
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 6FA08117D5B; Sat, 5 Dec 2026 06:21:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -4.298
X-Spam-Status: No, score=-4.298 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.001,
MAILING_LIST_MULTI=-1, NICE_REPLY_A=-1, RCVD_IN_DNSWL_MED=-2.3,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=neutral
reason="invalid (unsupported algorithm ed25519-sha256)"
header.d=uniroma2.it header.b=B5OPWDbD; dkim=pass (2048-bit key)
header.d=uniroma2.it header.b=UhhiGztp
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 eCFDuqNVpaT7;
Sat, 5 Dec 2026 06:21:33 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377811-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=uniroma2.it
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id CC7D6117D30; Sat, 5 Dec 2026 06:21:17 +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 6A3AC36CB1; Sat, 5 Dec 2026 03:21:15 +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=1796440875;
b=E4DcAvzRmzIz78PyHZooOecDC86wKlJe59q14O0OPkn+NRz9HcuAEDXDlvPksUj39wYL
oSI3vqed20ATsIi4nlw2Rm3l2XtYBJ6iL2MKLXsQci//KjDIdruFCOB8Xl78O6eBDHVrX
l1/ed56CW78nAlLTCYK5eEnYzf+QK1uq7dtOyTh6le7iCiJwSCl/oAwwel4VnIqXOoiZR
x1U2XMcEpHxam1AHlnR+nVNqSr5O0/HhOABZb/EFiN8RXWwKFVa2yRAmLHBATCsb5ezbK
W+/zc3J44fiyGeC5QMfjd4rYqgAB5pm5WS1DgRIVXU4Fp0JgN2mLZUJcUtohFV5jbSw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796440875;
h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
DKIM-Signature:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:
References:X-Mailer:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:Mime-Version:
Content-Type:Content-Transfer-Encoding:X-Virus-Scanned:
X-Virus-Status;
bh=rGMCg3XirtW+2e7hF4n2vsd9BR6pDDYKtvMjo7Eorts=;
b=aqJPxMUifbuCK0e77begLRD50LtHFcakEXeCcDfNut41HuyH8rDciLoapnocZg8VZLbu
Zu7dS0dhuZsZukyrVXw7i2j0K0yc4BQNkW0veI+ZLAYQzPIvUdXiMd4ZZjEONZDncAkL2
kuwkYVqiqZujK/kpIalH2BVCmzNubjuRFL/NbmX4qGsgmQIh9+TIjJwACo96wgQsIv+WG
LNVhxhT6iCtk7QT4I/h0wr8P1IHMy82E0lKR8xxU913OnLgm60F4VYzm4UY9Qqi5pwj/3
C24VKrpSy05325gq2CeoMXjb+5diYl6GdbDeXMYEpMoMfGJOpn5JQhyJfqPIBq6Fh8Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=ed25519-sha256 header.s=ed201904 header.b=B5OPWDbD;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=UhhiGztp;
dmarc=pass header.from=uniroma2.it;
spf=pass smtp.mailfrom=uniroma2.it;
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 4209F606A334;
Sat, 5 Dec 2026 03:21:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=ed25519-sha256 header.s=ed201904 header.b=B5OPWDbD;
dkim=pass (2048-bit key) header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=UhhiGztp
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=160.80.4.32
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796440869;
b=z7lWeKJBsw7DzFOYsmwQM8g6+ZXUbgt70XblM5+o2+N4Jv+Xg42nrB0ehgBYc3+uCTry
XqqAfcUoNmv2ASPhs9ehpgzZy0zgM95pL37ipLb2bK862S5svAmx+7oDIXi79UfEIksBz
YacrYZdV+tDzgQHxFCkAV9H8VG00HBIJycRL70uIeoyAZtT1dctpGlXj+kzeNBXkbVqk6
cy45je2w1x14EvJeuw78UHdnPkYPz02A1AzPOHDIH5z3BnNCWSOJqCkZdWvTWBGvhOtBj
F748VaGWaUdRDu96wgEbGyAeVZ+Vonysd8Ofri67dXrCG+UbfctNol2lNUIwstSKdZw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796440869;
h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:Date:
From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:
Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned:
X-Virus-Status;
bh=rGMCg3XirtW+2e7hF4n2vsd9BR6pDDYKtvMjo7Eorts=;
b=IWsqQCFnUO8nwzcMRq12rcl7IXTpzVtjCpBamtjrK8t5SFKnZgteXPC3DCkFPo8RJzwP
jtn838VXZnX3mb5gSXowBwBNYjMSbksbIux0WgBSHAvYlEfKs6GXO82FnBlK1JTQ+wBn1
TpxgOBZVEbX94aelsuvmoYC+xBp/tPnjNbDLy34B5KQe6w94rlP7tLw+3gszNspBv84zh
/wZ/DOQab0F+MydyadhIGHQ1FC7ULmuYGbZ1NxDG2EeheG/6HT6FqEuqzdKnaRsfAsCoB
Qt6rYozM2bJKfqBnEOoKgd7QYMH1b0Xh9uxDTNIdlmBVFDsmLGwPwMHMC3lWJiXeGjQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=uniroma2.it;
spf=pass smtp.mailfrom=uniroma2.it;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=ed25519-sha256 header.s=ed201904 header.b=B5OPWDbD;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=UhhiGztp;
arc=none smtp.remote-ip=160.80.4.32
X-Received: from smtp.uniroma2.it (smtp-2015.uniroma2.it [160.80.4.32])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CA77606A32D;
Sat, 5 Dec 2026 03:21:06 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6CA77606A32D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniroma2.it
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniroma2.it
X-Received: from smtpauth-2019-1.uniroma2.it (smtpauth.uniroma2.it [160.80.5.46])
by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id 6B53KLeI009014;
Sat, 5 Dec 2026 04:20:26 +0100
X-Received: from lubuntu-18.04 (unknown [160.80.103.126])
by smtpauth-2019-1.uniroma2.it (Postfix) with ESMTPSA id B37611206DD;
Sat, 5 Dec 2026 04:20:16 +0100 (CET)
X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=uniroma2.it;
s=ed201904; t=1796440817; h=from:from:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=rGMCg3XirtW+2e7hF4n2vsd9BR6pDDYKtvMjo7Eorts=;
b=B5OPWDbDQ0PgdPocSriQ8nno6FlcEubtLY3xvZDroX29cKkcvbf9kjbLfqSuD/B5zcg8RN
L4hFQ87FfZbooBBA==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniroma2.it; s=rsa201904;
t=1796440817; h=from:from:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=rGMCg3XirtW+2e7hF4n2vsd9BR6pDDYKtvMjo7Eorts=;
b=UhhiGztpGPriHyM8DxVa3HY/iIkouGSNWbUbsMHz7RVJtelGxcEmNTTOXbmBbyOnArLVAW
itQ7Nl35DRo2FsrMEMv0zOuGVQqzP9J0K6Pp50MhD/Z6Fwl4+K64JG4iMXHhbv9OlhfsfG
e9v5an9/LrhiwBuea1rzmEyvD9GtdhcuRpDJ4J5p/+cNzAToj6kvc/JyH/B8WbPF5Cwqvk
rD9MFLLYJeRBoQliJ8vtTzKBIVjDpY05D8DcUrhHFRaNV2HUskgmgryPrLFzv83FXwiacf
hWapWRR/m39079oo5C5vAK5nCXmz4XAeXcOyro6gwnteAo2MyEQcXKT4C++jRg==
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>,
Andrea Mayer
<andrea@common-net.org>,
Andrea Mayer <andrea.mayer@uniroma2.it>
X-In-Reply-To: <20261202-srv6_flavors_endx-v6-3-4e50b828e702@kylinos.cn>
X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
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-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015
X-Virus-Status: Clean