From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=160.80.4.32 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== 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== 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 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) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6CA77606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniroma2.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniroma2.it 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, unprotected) header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=UhhiGztp 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 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) 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== 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== Date: Sat, 5 Dec 2026 04:20:16 +0100 From: Andrea Mayer To: Hangbin Liu Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shuah Khan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Hangbin Liu , Stefano Salsano , Andrea Mayer , Andrea Mayer Subject: Re: [PATCH net-next v6 3/6] selftests: seg6: move SRv6 End PSP setup into its own helper Message-Id: <20261205042016.7390f284bb7bd51d671d6b07@uniroma2.it> In-Reply-To: <20261202-srv6_flavors_endx-v6-3-4e50b828e702@kylinos.cn> References: <20261202-srv6_flavors_endx-v6-0-4e50b828e702@kylinos.cn> <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: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015 X-Virus-Status: Clean On Wed, 02 Dec 2026 16:46:29 +0800 Hangbin Liu wrote: > From: Hangbin Liu > > 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 > [snip] Reviewed-by: Andrea Mayer Thanks, Andrea