🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7573

Re: [PATCH net 2/2] selftests: tc-testing: test offload flags of reused matchall actions

#7573
From: Simon Horman
Date: Mon, 26 Oct 2026 16:53
10 lines
8302 bytes
On Wed, Oct 21, 2026 at 09:32:19PM +0200, Alexandre Cassen wrote:
> Check that a skip_hw filter leaves the flags of an action it reuses
> unchanged, even when the filter add fails on a later action. Also check
> that a filter without skip_hw still cannot reuse a skip_hw action. The
> dummy device has no tc offload, so skip_hw stands in for skip_sw.
> 
> Signed-off-by: Alexandre Cassen <acassen@corp.free.fr>

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261026165344.GE257209@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352004-linux-kernel-netdev=dewy.ru
References: <20261021193222.1318333-1-acassen@corp.free.fr> <20261021193222.1318333-3-acassen@corp.free.fr>

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-352004-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 2/2] selftests: tc-testing: test offload flags of
 reused matchall actions
Date: Mon, 26 Oct 2026 16:53:44 +0000
Organization: Usenet Network
Message-ID: <20261026165344.GE257209@horms.kernel.org>
References: <20261021193222.1318333-1-acassen@corp.free.fr>
 <20261021193222.1318333-3-acassen@corp.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1352567"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:CXN2kuIdfMqFPE5PAiGLg0yNBcg= sha256:ipnY/N/0b3BWKhTOAvFiU5ycraycP+pVZK3TAon+8ZU=
	sha1:lE96PjGgcxn02s2ZiLhFA/jOBE4= sha256:HqfoNsnSLar+pG3/GnE14MPgPJ2Tu5YSiS4m2kiSoX0=
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 DB1FF125BAF; Mon, 26 Oct 2026 19:54:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.839
X-Spam-Status: No, score=-3.839 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (2048-bit key)
	header.d=kernel.org
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 VdObxkEmy8xU;
	Mon, 26 Oct 2026 19:54:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-352004-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 8D0CE125BAE; Mon, 26 Oct 2026 19:53:58 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id B0FD1601C26; Mon, 26 Oct 2026 16:53:57 +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=1793033635;
	b=j5FRFZLWsyf1li5CVaFbbpMroutynSLeLW8Pxr35dxVsIyMb9WQcBjn+hsJVO1gI5Mbc
	 XdOmfTuF0SNhf8RVeDt03eUGMJWbW7VzuRh3Suy2f4Q3c+8lhQIVYsIWQrQwaxWJTpvPW
	 VCpG8bERuDyCfpPymjccu5XzBlmI1WSUTONyx/NcoUSkFI4mrZhIw6Tx78CJmhPRzMMfG
	 CNzR/o0CUvR4K9BMLNtWetDxfu/lVpvr/B6XzvlGfOaOi0LJvZyDTfPLnh+tt0ORgmxKA
	 tHAu8ThQcykspFAqle7xVtti4mFjlfPtrBt0bvAXScQQiNP7Aa/t6PRVrp6QtPQ66Fg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793033635;
	h=X-Original-To:Received:Received:DKIM-Signature: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=eJgiamc/PB4nOvEdna/9ww9zH5/FmpDd5GGoCZJYw5Q=;
	b=Z5Z28K7sk2E7ipZgc/UnPEocWxS56ISwph7UfrUo8PVooxyuWebhU5gPkP0QU95CTnB3
	 yKk0wl6idV/liee/PJpXOs3f5m+UBhXpOn4/5TDwvUP41850+WWAQnnvBET6cN5Js2VZL
	 p6hWwyC6P3E19fo+JZpRd56nt+AqzZ+fHtphivfBU6xMCCUYqB4TybdJqzCwcWxx0FFQZ
	 UgJOZm9Fm+PulXFD1dUWcp3h6Z7wJVVxndLmcJbyk9RSsUZAfTrR6X7No7WTCG8rF2hLV
	 BSb3KlBKLQ3t3XfuFjfTTQ8QJhrNnVb+IlL/+YKYLxTrtsu/UNln7b8qiDRXbYHUiGA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nTyS1YJZ;
	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 33C08606A323;
	Mon, 26 Oct 2026 16:53:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nTyS1YJZ
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793033629;
	b=z2rj7g1cwaP0k5mVFSAs3DDMZKlnjuzLwnCbZ5KB+SM4xkFngcFOAMoXDU+p5/vxGq5Z
	 t3M1AI4UI9HOr/+VsuTDRnzNTIW+cEE4UEEsRx7TOilwBL/Ljdlj+4rdi3IAyEeQsnbTZ
	 tpSJQyQQ1KPf9wAg9JSug3G0Y9O9iT9dtYknHN1H+zuaEVRjROtpJxAuhipHXcgtSENUX
	 4zgFgcd+n3LPXGmnvp9dCSduvANitEapSPiz/GprTtwOY2OenMpCLVOzTj8TFmo6/rZ2t
	 g798cXzBOScCXE1Fuuc0GpnH94n8GKPjc5WhmpKC/7/KfLBTAZ0bUFk+7OXabmRHVCQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793033629;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=eJgiamc/PB4nOvEdna/9ww9zH5/FmpDd5GGoCZJYw5Q=;
	b=I0SlD4BUuWmQNWWkxg4EgEPHw3AHZWODBexe6hbiVhLErnYUJn3SWmq1Tyk+OIHysE0G
	 ydDsdbtjtwH6ZEBfJW1o+xwOyfxIkTPj9jtByKZtV/JbqFfIUNxCbfUBK5gRV4NGb5pnL
	 0MYjLJaShtL/SuUOoFK5CM2MOIP7O7LoFiIwJcYTe/oH4A8auz/cBoFcsxLrhjIGOe037
	 elXv8ymuAE2vTnIyA8GLfhCiDs0pkamnDIrIDGnhe2KLcqMtfT4PNZoU6yEG/Kr9TcaUS
	 olqsWkbQ1Dv3Y3BTtQow2wHs7SroAPQ7WKPazPwple5ZEEW7pJn2kfZoHtDv8rnOOWw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nTyS1YJZ;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14ABE606A31A;
	Mon, 26 Oct 2026 16:53:48 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F5801F01825;
	Mon, 26 Oct 2026 16:53:46 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793033628;
	bh=eJgiamc/PB4nOvEdna/9ww9zH5/FmpDd5GGoCZJYw5Q=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=nTyS1YJZC8tPsfzJpHnlpmsGNvVNwxPNKLO6gAgKCM5ekDsnWCEfA1MzqSZqh4s05
	 d97xAoKKkF4+a5yyR0BcgofogrjFOUUhkgG8k6gsfiiLfAGkeHLKJ7e0VksqU9lPBH
	 toGwsXbM3ue2zDHRwbO8pKi3dGC7N5G/O1IpnetfQ6mE/S7vzZMDewfvobsLCpku63
	 n1BLkyRBhGGkhfbNQ4CYIixFnN+c2NUP1Et3SyKSmxNOKikq+b0abh0QDGPClVNtmp
	 oKNnZJ8d9h0L3YqGWFBBPeSv9k1a2FQjMM2ifzy2SUycuP/9dlvgu9H46A4eqgyxbS
	 54caNohlAxNvg==
X-Cc: Jamal Hadi Salim <jhs@mojatatu.com>, Jiri Pirko <jiri@resnulli.us>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Vladimir Oltean <vladimir.oltean@nxp.com>,
	Ido Schimmel <idosch@nvidia.com>, Shuah Khan <shuah@kernel.org>,
	netdev@vger.kernel.org, linux-kselftest@vger.kernel.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: <20261021193222.1318333-3-acassen@corp.free.fr>