🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #208

[PATCH net 1/2] net/mlx5: HWS, release L2 to L3 tunnel reformats to their own pool

#208
From: Alexandre Cassen
Date: Wed, 07 Oct 2026 14:38
26 lines
6977 bytes
L2 to L3 tunnel reformats are now released to the el2tol3tnl pools.

Fixes: aecd9d1020e3 ("net/mlx5: fs, add HWS packet reformat API function")
Signed-off-by: Alexandre Cassen <acassen@corp.free.fr>
---
 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c b/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
index 5a172c572a68..44b311b4532d 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c
@@ -1398,8 +1398,8 @@ static void mlx5_cmd_hws_packet_reformat_dealloc(struct mlx5_flow_root_namespace
 						    pr_data->data_size);
 		break;
 	case MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL:
-		pr_pool = mlx5_fs_get_pr_encap_pool(dev, &hws_pool->el2tol2tnl_pools,
-						    MLX5HWS_ACTION_TYP_REFORMAT_L2_TO_TNL_L2,
+		pr_pool = mlx5_fs_get_pr_encap_pool(dev, &hws_pool->el2tol3tnl_pools,
+						    MLX5HWS_ACTION_TYP_REFORMAT_L2_TO_TNL_L3,
 						    pr_data->data_size);
 		break;
 	case MLX5_REFORMAT_TYPE_L3_TUNNEL_TO_L2:
-- 
2.43.0
Technical Details
Message-ID: <20261007143830.1733583-2-acassen@corp.free.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342375-linux-kernel-netdev=dewy.ru
References: <20261007143830.1733583-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-342375-linux-kernel-netdev=dewy.ru
From: acassen@corp.free.fr (Alexandre Cassen)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net 1/2] net/mlx5: HWS, release L2 to L3 tunnel reformats to their own pool
Date: Wed,  7 Oct 2026 16:38:22 +0200
Organization: Usenet Network
Message-ID: <20261007143830.1733583-2-acassen@corp.free.fr>
References: <20261007143830.1733583-1-acassen@corp.free.fr>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="667094"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Kdbh7MWOJIGmZpsS5SbjXl4hzIg= sha256:GUHuUyMoze1DRjyNB3lvYh8Z017vppSQHdYTZzg1SZw=
	sha1:OSl+zkmzoDuBJ6zRjN+u1K/iUh0= sha256:ZYwugSQcrDAtw3/apJZCFGPcVg+w5mvXzioOSt4yulI=
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 9570E10F194; Wed,  7 Oct 2026 17:48:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=corp.free.fr
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 gsXN40JUN2p8;
	Wed,  7 Oct 2026 17:48:48 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342375-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=corp.free.fr
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id E8D3010F148; Wed,  7 Oct 2026 17:48:44 +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 591193EF29; Wed,  7 Oct 2026 14:38:59 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 7ADA34B0E4D;
	Wed,  7 Oct 2026 14:38:53 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=corp.free.fr header.i=@corp.free.fr header.b="F9WrEnX+"
X-Received: from rcs.proxad.net (rcs.proxad.net [212.27.60.169])
	(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 4E84F4ACC72;
	Wed,  7 Oct 2026 14:38:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.27.60.169
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791383933; cv=none; b=NHZLkicua5QxAkx+FXaItj1SXHvH89Go/En+TTHaUlr1mhULlNHYYXLrLkmogJUtxRr+BJvVhpgPHUqeYUBWFSNwUiAF95jrTJIiCtqNErTIXmwFiEwOVh186aaW4oro5VIb9H7zK7CVpF1thxlzgHBvdKDMpfkY88htQYbJKms=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791383933; c=relaxed/simple;
	bh=WOO3OT/UjjR6FkEWqCSZYJZ7+5qVJqaycE609tUHtgI=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=MId9lTNfqMo6m0LMBrGxqc9AuLhxV8Et/xTHMZn8D+eT+A+UYt2b5zaYslZ+xDTtTfMzCh9Qd7e6cVZpakb/2TdRpTg9DOaMWcmEt1ww0T4QJyL4gTCTFkMfEsQ4Tp1ZC+QaxJ6D1hVUhWc/biQD/iiXzzHXs0zxtPl/3OGt2GE=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=corp.free.fr; spf=pass smtp.mailfrom=corp.free.fr; dkim=pass (2048-bit key) header.d=corp.free.fr header.i=@corp.free.fr header.b=F9WrEnX+; arc=none smtp.client-ip=212.27.60.169
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=corp.free.fr
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=corp.free.fr
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=corp.free.fr; s=rcs;
	t=1791383918; bh=WOO3OT/UjjR6FkEWqCSZYJZ7+5qVJqaycE609tUHtgI=;
	h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
	b=F9WrEnX+DZsUqzHxxnteVpF6/RmUUcGTj5OvMwWpAs/XzRMEiQqz8xFX2NBmLF8Sn
	 CVWO+RCYEMlA9WYOtgTuTl2UVQO9+0RpoFfmhwmSf8bsXnKS5PN2bV9v2N0BqKtEWC
	 ah3K/OfQVVfQNWiB5ntmaXcj1cfVy5VF3YoMdmtj3AnqLLTM4Ud97DJA2XvB08hNoR
	 z7DtW+DgHOQl4i852yBgYqCPgoT+4kr+kn77BAcPvnRXYcY0TJnMc3XG/x2hCZ+OWN
	 teOryrZyrYBdBJ8dJJKvu1Pj/0zTnBKdff/Ms+3cMbkOMg/1PpwMfuOAZO+/QbRa3k
	 kbejUbOpN0wdg==
X-Received: from lnxos-dev.home (82-66-150-212.subs.proxad.net [82.66.150.212])
	by rcs.proxad.net (Postfix) with ESMTPSA id 6329244C1115;
	Wed,  7 Oct 2026 16:38:38 +0200 (CEST)
X-Cc: 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-Mailer: git-send-email 2.43.0
X-In-Reply-To: <20261007143830.1733583-1-acassen@corp.free.fr>
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>