🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #913

[PATCH net 0/2] net/mlx5: HWS, fix pool creation races

#913
From: Alexandre Cassen
Date: Thu, 08 Oct 2026 20:42
19 lines
6214 bytes
This series fixes two pool creation races in fs_hws hit when two
callers create the first pool for a reformat size or a modify header
pattern at once:

- Reformat pools keep the pool inserted first.
- Modify header pools serialize the pattern lookup with the pool
  creation while keeping a new pool on error.

Alexandre Cassen (2):
  net/mlx5: HWS, fix reformat pool creation race
  net/mlx5: HWS, fix modify header pool creation race

 .../mellanox/mlx5/core/steering/hws/fs_hws.c  | 34 +++++++++----------
 .../mellanox/mlx5/core/steering/hws/fs_hws.h  |  1 +
 2 files changed, 18 insertions(+), 17 deletions(-)

-- 
2.43.0
Technical Details
Message-ID: <20261008204230.3222198-1-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-343268-linux-kernel-netdev=dewy.ru

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-343268-linux-kernel-netdev=dewy.ru
From: acassen@corp.free.fr (Alexandre Cassen)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net 0/2] net/mlx5: HWS, fix pool creation races
Date: Thu,  8 Oct 2026 22:42:19 +0200
Organization: Usenet Network
Message-ID: <20261008204230.3222198-1-acassen@corp.free.fr>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="966075"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:KPQidjeJ3jWzNGGORxi81roFgrE= sha256:8BWpgtCyf6iXe5ERUdG0+DEWNo4f70wtbEWc7RlGRH0=
	sha1:a02af2CRcoOCAESH2VC5auIcuPA= sha256:7lTrBOTeohltfQwwozE3KN36cAMjz8qIRNEM05/tFlU=
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 0B32C10F513; Thu,  8 Oct 2026 23:43:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.75
X-Spam-Status: No, score=-0.75 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=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 v6mmDQ2KDC1c;
	Thu,  8 Oct 2026 23:43:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-343268-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 2BF16D2680; Thu,  8 Oct 2026 23:43:12 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id B7FBE3726E; Thu,  8 Oct 2026 20:43:06 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 825E542F708;
	Thu,  8 Oct 2026 20:43:03 +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="F1+iUefi"
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 DAE02423EAE;
	Thu,  8 Oct 2026 20:43:00 +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=1791492183; cv=none; b=ZxX8Jf7jJh755fwsf6D09u6NvCIx8751is5bvdjPAV7C6x2rKdqKX9Yx5lRCamCb78JvskfLiyp7NdD8AA8Fyn8u5lrUgrwkTzL0AfMc9u0FUxqpDXuADcgZAStuXiSbg3+9tkoi0SZojkIl86cW9jSis+ujBI7IPf01PJ2wRl8=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791492183; c=relaxed/simple;
	bh=yOQ8nm4OJgAXSIu5wtPzKcV8o8gZIaUXxVHIfV0QT+o=;
	h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q2BaMzH7K6x6WyPaVLEl2XbMOZ29T6ZAXQvJ88jUQx3eYD6mOFJyJjnh+evee/QKcwC/mzYpg0PIfmcA9P2y92Eu65iPDBRiJP6SUopr5i3V+CjyTZBkOp/LXkMlG/SbhlZVibEqHG3+fX7xPgMdQLChdIm7yNkFk9TmVNsC0ks=
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=F1+iUefi; 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=1791492178; bh=yOQ8nm4OJgAXSIu5wtPzKcV8o8gZIaUXxVHIfV0QT+o=;
	h=From:To:Cc:Subject:Date:From;
	b=F1+iUefiTJ9VTo1tcPjYWCCN1IEHww8/sl6lszWVRsnguPKXkDpe6O1aORP3Q3ZZH
	 BG7V1fXM8OjjgQcTSP3HmIyUz8VfOhwqeSFt69uVoMXtooVLmTzghWVKfs63/HgcvH
	 +B2FjNUVlC1jeJ6dIO+NN5YiS5yoGGeUAXZmp/B7xglaOTh3j7yOUa3OCyzEMBVgL8
	 vb1IPAifyaVthno9zQGRASXqThKPKwxUBgl9ulze88YEjD+Y7cJRpV8gZ58q0VXzVB
	 RYFE6rEeqtxujpML7XASyFjfFjaiiDXq4MuW3N3HGBQED5NrmGfCebd1eKsmgWijRz
	 0ukRAvYGflZCg==
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 8CE2E44C045E;
	Thu,  8 Oct 2026 22:42:58 +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-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>