Article View: linux.kernel.netdev
Article #1754Re: [PATCH net-next 2/2] net/mlx5: HWS, shrink FTE action array to fit
From: Simon Horman
Date: Sat, 10 Oct 2026 15:42
Date: Sat, 10 Oct 2026 15:42
10 lines
6060 bytes
6060 bytes
On Fri, Oct 09, 2026 at 07:21:01AM +0200, Alexandre Cassen wrote: > An FTE keeps the actions it must release in the array used to build > them. This is a 1 KB allocation sized for MLX5_FLOW_CONTEXT_ACTION_MAX > entries while a rule rarely needs more than three. Keep a copy sized to > the actions in use. > > Signed-off-by: Alexandre Cassen <acassen@corp.free.fr> Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID:
<20261010154227.GT83879@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-344268-linux-kernel-netdev=dewy.ruReferences:
<20261009052103.3621855-1-acassen@corp.free.fr> <20261009052103.3621855-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-344268-linux-kernel-netdev=dewy.ru From: horms@kernel.org (Simon Horman) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 2/2] net/mlx5: HWS, shrink FTE action array to fit Date: Sat, 10 Oct 2026 16:42:27 +0100 Organization: Usenet Network Message-ID: <20261010154227.GT83879@horms.kernel.org> References: <20261009052103.3621855-1-acassen@corp.free.fr> <20261009052103.3621855-3-acassen@corp.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1358917"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:gnFLP2Ev/fxLAYjNLEOo34ZXkJU= sha256:kTqP0DpYHozlFQut1Q3XA5DQSfj4zG0nGIEo1f6F7NY= sha1:i0HD85BW7d9dM/fcwv53LdS/TmU= sha256:tOvbSGrrMhh6P9lqMkEPi437OcDdyphHG3lFqHdNnpg= 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 18C6E10F925; Sat, 10 Oct 2026 18:42:42 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.741 X-Spam-Status: No, score=-3.741 tagged_above=-9999 required=6.31 tests=[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, 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 J4yQqad3W767; Sat, 10 Oct 2026 18:42:39 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-344268-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 270C810F8F4; Sat, 10 Oct 2026 18:42:35 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id A60676062D3; Sat, 10 Oct 2026 15:42:34 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B20C23B5318; Sat, 10 Oct 2026 15:42:33 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HaB2IpWp" 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 72E0C3793D5; Sat, 10 Oct 2026 15:42:32 +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=1791646953; cv=none; b=e7mhiWuQvk9TUEwH1nmlR/skWfDfnSyw/h+YuHr3F61VnqHimdwCSzlaIR0lEmHnu5gFiYVwl0cxnKv3p/fNBYtwiqNeNZpRLCdjOZPnJlvchgr5Qe5FeLbuNKyDmA0POoNILs+QiZvfHCSXzPaZpCm0QV5DqJW5TXIqQnd4E14= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791646953; c=relaxed/simple; bh=+/stIHVnNllyLNmgxOiEfWQPD3m+sCUJ6EaD1hPNroc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BOpe2rng736T3SNiZJrDBW8Ps3ZAH8R/EIu1XEjKFVcBKaGSM7BUIxN+nkfCxffrGaeKyDieZB6NpTVZkBzX+jT63JzuBEM8aHClq1xvL0ae+fFj7NGwI7QypM5RfjxzejhIrc5OqYz4tVXpPzhSRLPY/SLHL54fvNIrBvk86RA= 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=HaB2IpWp; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 738DD1F000FF; Sat, 10 Oct 2026 15:42:29 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791646951; bh=t3Bj1MwXTOKzIBEfeF8JBZnRpIJ12Xf+XRKo8umfYuQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=HaB2IpWpTyqZzWXjSUxNAC3YA9UmHVXV7wkhKcW50MF8ZBRB8Er5QqTFdjzCIWWJt u2lAHg9jjVUCquQ/F7Yahz55a9iRn6bMC3irRRaOkl+1wORQw2sS7ctlZHXgsflX6G qqrwerWL34jgUvqfq8Zs/tCxvz5JAfdHSA4QFRSgKyOywXKJU4laW8tbTVVmntT5m6 nC27N5RhkSsTQViOdm43tiUo1C4OXazfTzo8glPNzQ8kOM251qrKxZgcZ+rxVoG8Qr SY29wERWnn5+iV1S3fcAMkBJvC5Sy3N+RYf+W4I1IdB4Pv5u5rBlgjFvyO1rXruXHz cc5Kc2z0fIhAQ== 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-3-acassen@corp.free.fr>