🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1753

Re: [PATCH net-next 1/2] net/mlx5e: TC, free NIC flow parse attributes after offload

#1753
From: Simon Horman
Date: Sat, 10 Oct 2026 15:42
9 lines
5981 bytes
On Fri, Oct 09, 2026 at 07:21:00AM +0200, Alexandre Cassen wrote:
> A NIC flow holds a 4 KB allocation for its parse attributes until
> deletion although nothing reads them after offload. Free them once the
> rule is in.
> 
> Signed-off-by: Alexandre Cassen <acassen@corp.free.fr>

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261010154205.GS83879@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-344267-linux-kernel-netdev=dewy.ru
References: <20261009052103.3621855-1-acassen@corp.free.fr> <20261009052103.3621855-2-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-344267-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 1/2] net/mlx5e: TC, free NIC flow parse
 attributes after offload
Date: Sat, 10 Oct 2026 16:42:05 +0100
Organization: Usenet Network
Message-ID: <20261010154205.GS83879@horms.kernel.org>
References: <20261009052103.3621855-1-acassen@corp.free.fr>
 <20261009052103.3621855-2-acassen@corp.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1358864"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:9UktflRitMlMcsbx4OM+vPf5528= sha256:/U1YqNaCaCMCVKkXTPSE6a33mgcNbOKPlOj0KSZ5P/I=
	sha1:wZd/YfyDyLAMC4TtZQ0CkrmFCzU= sha256:o6ZKJWHMGoKwf+839YQ7hDLoaDilz4WjxpDmNXYCdP4=
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 A943010F924; Sat, 10 Oct 2026 18:42:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, 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 EM4fOTM_9vDr;
	Sat, 10 Oct 2026 18:42:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-344267-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id BAC3510F8F4; Sat, 10 Oct 2026 18:42:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sin.lore.kernel.org (Postfix) with ESMTP id D4373274E8; Sat, 10 Oct 2026 15:42:12 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 10A9F3C456B;
	Sat, 10 Oct 2026 15:42:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eXxjPo13"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 178AD3B5318;
	Sat, 10 Oct 2026 15:42:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791646932; cv=none; b=aJxNgKJ9yrAIAqdvHeanwinhBoJIFCiByRR1DuVu7s4RMCLC6LBkw5fJzcy4rcmGnc7c03vqVVMibo/WSxOXqr6JA6Yu+ZXLcyrs3kjSmslNWx7Z0MNaRs1a/k88X0eFwuXyH5n678mXcTrULeXMaobXfuJAjUkDLfIO4X9wykU=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791646932; c=relaxed/simple;
	bh=o0Nbdtt+z9Xl9B0BpBsREqyYw5ZQK58jImSSl3F1+DA=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=tsrRuablmgMka6zK28dLLM1Kb6TuLY5MZQL6pgxKi1gPYzGmmz+KA6PuUAMQda2DdwHcnOQ4Vrpd007cgWkApPMOdV0svBSESo9T5jyuf1GZj1L1zTfMEo53CXaqzZTWXCHW+pOh2yySyRRjWqp8tZTr2MTGYSdM/mxK+WJgHP4=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eXxjPo13; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 336991F000FF;
	Sat, 10 Oct 2026 15:42:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791646930;
	bh=Ap+Tq/Y+qhjykp5ER3ePeXaxEviOW6XIy2R2my+Dgsk=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=eXxjPo13ut2gtaFOMruHDJlPpKT4h50VawIOovx8npMzZpm/9l+v9sZLMxAcnRuix
	 x/2GPDzg5Z7AoXpa9uWisGGdwDjW5TF6eaUUYI6whlE5a83QXJjY9rsnsB304ZmgUE
	 hJwd7qNak+9hjSaN2exjFsil2ykZ878qjYPMtcgTTmHMBLS0ieKqzQ9WOAdNQHFsLf
	 ySljyUEWaeCtrmxKAyV0wYSBIWgkGZ+MIXwTLtIsUrTFRiZ+iIMg2C1I785Ht1N1gm
	 4+g4/Smn7aTdeA2azs/FmSNpGKrh1ohoQaH1j6c5H4KoBqnWhhFdjA0LxM+XRkLaRS
	 RbFyslVnw0+RA==
X-Cc: Saeed Mahameed <saeedm@nvidia.com>, Leon Romanovsky <leon@kernel.org>,
	Tariq Toukan <tariqt@nvidia.com>, Mark Bloch <mbloch@nvidia.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Moshe Shemesh <moshe@nvidia.com>,
	Yevgeny Kliteynik <kliteyn@nvidia.com>, netdev@vger.kernel.org,
	linux-rdma@vger.kernel.org
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261009052103.3621855-2-acassen@corp.free.fr>