🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3561

Re: [PATCH net-next 0/2] net/mlx5: less memory per offloaded tc rule

#3561
From: patchwork-bot+netdevbpf
Date: Thu, 15 Oct 2026 10:00
28 lines
6616 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri,  9 Oct 2026 07:20:59 +0200 you wrote:
> Two mlx5 allocations hold more memory than an offloaded tc rule needs.
> A NIC flow keeps a 4 KB allocation for parse attributes that nothing
> reads after offload. An FTE under hardware steering keeps the 1 KB
> action array it was built in while a rule rarely needs more than three
> entries.
> 
> Freeing the first after offload saves 4 KB per NIC flow. Shrinking the
> second saves about 1 KB per FTE under hardware steering.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net/mlx5e: TC, free NIC flow parse attributes after offload
    https://git.kernel.org/netdev/net-next/c/dd0425c502fc
  - [net-next,2/2] net/mlx5: HWS, shrink FTE action array to fit
    https://git.kernel.org/netdev/net-next/c/3636705910f9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179205840526.3325132.4078585050271061230.git-patchwork-notify@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-346652-linux-kernel-netdev=dewy.ru
References: <20261009052103.3621855-1-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-346652-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/2] net/mlx5: less memory per offloaded tc rule
Date: Thu, 15 Oct 2026 10:00:05 +0000
Organization: Usenet Network
Message-ID: <179205840526.3325132.4078585050271061230.git-patchwork-notify@kernel.org>
References: <20261009052103.3621855-1-acassen@corp.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2515705"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GTZlsdcwjHwcCoPb1+VPUjx3nYI= sha256:vxrPmkNiRe8XFf5vwVlGqAiBwXE6LMOBNmkzQ0hNMqA=
	sha1:AJiQ2qZ/bjtiiaRp2AKj13pFYH0= sha256:6Fjaf45obBE3IARuoGqlSPo9ry9y3LcRbLWu+TY8NtY=
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 E0D1A1102E1; Thu, 15 Oct 2026 14:16:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.34
X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, 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 nY8Ps78MAzx6;
	Thu, 15 Oct 2026 14:16:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346652-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id A6E8D1102DB; Thu, 15 Oct 2026 14:16:41 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id CCBB280964; Thu, 15 Oct 2026 10:03:03 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C558518132;
	Thu, 15 Oct 2026 10:00:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GQ3w9+Vc"
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 DA75C4A7CA7;
	Thu, 15 Oct 2026 10:00:06 +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=1792058408; cv=none; b=sreWhWLBc2kGGGdSwNSqKKZm1xvbeuLYWcfB0rshorypNC0zSmG/52HNnzaaFwR5GDi7yZQnmkdE/9cQbnLG1VPlcS/JYMe7ChPU2lF90wkbuSkN8INyZsHj6VDMRq7FMe2ZmEjtEshFLvQunwmxK9yTBOV8ePck2STHGcT3ZUs=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792058408; c=relaxed/simple;
	bh=FRIOZyO0iAK4GL6hXO5EDHKcOhtImob5hsUVrqOj52k=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=GTRewn5KnkkExotdqS8iwuIL0ZO4zYazJMJhU5FPsFvrAY9embq3JJzi6rgsLkf+lStt6po64L+HOFTy7qvW9YtTMpYyP4Nh2AjbP+Ph167pMctzQYVAxDC2+tAHoQj6nRILNPJSVRRD5JDYaEuQIZVVPpOczCKl05ZWtlgl7+g=
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=GQ3w9+Vc; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD0B81F000C4;
	Thu, 15 Oct 2026 10:00:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792058406;
	bh=O5PSGyP3wGupPJqSfNsCyMmvW0tTQlkg6s/LDbfJd2c=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=GQ3w9+VcIs5b1BwjJ1iCh59EFJZlT0Z5PHEzdgENPyH4tgCRwe8aKk6grqhZli7Lo
	 CcciMX5a+qnhK62KG/9CskMBZKJOfb8eukj0pCsw1wMa01nmO3zN5j/LzcvzlT95qS
	 KOM6KGgak7wWZEjarbyk5CrJctWIScqEhN8ezxZpLYkalA4R0RsHCUIvzTxCWjEg+a
	 alVURb81EPgGOvOhMGiQaKIxYVBoqsezrMRzLtU8YNGj7eb7leIPjPkgwP4kWqaKXl
	 m0GBH1Bu8Gc+Ww5ujG4KQkbHX9wTPhe3SDgeOgehtyAGM+FpZs2jGLLoGC+U6p5BEh
	 eW13N9HwDKekA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B44C4392EA50;
	Thu, 15 Oct 2026 10:00:06 +0000 (UTC)
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-1-acassen@corp.free.fr>
X-Cc: saeedm@nvidia.com, leon@kernel.org, tariqt@nvidia.com, mbloch@nvidia.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, moshe@nvidia.com, kliteyn@nvidia.com,
 netdev@vger.kernel.org, linux-rdma@vger.kernel.org