Article View: linux.kernel.netdev
Article #8506Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF
From: patchwork-bot+netdevbpf
Date: Thu, 29 Oct 2026 09:40
Date: Thu, 29 Oct 2026 09:40
25 lines
8746 bytes
8746 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 26 Oct 2026 10:45:03 +0200 you wrote:
> From: Cosmin Ratiu <cratiu@nvidia.com>
>
> The validation for the num_doorbells devlink param rejects values
> greater than num_channels. For lightweight SFs, this ends up accessing
> a NULL priv->eq_table, leading to a crash.
>
> Fix that by rejecting setting num_doorbells on uninitialized SFs.
>
> [...]
Here is the summary with links:
- [net] net/mlx5: Only set num_doorbells on a fully initialized SF
https://git.kernel.org/netdev/net/c/fa503935c2d6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179326680482.1714515.15230223868854423149.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-353224-linux-kernel-netdev=dewy.ruReferences:
<20261026084503.4122732-1-tariqt@nvidia.com>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-353224-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF Date: Thu, 29 Oct 2026 09:40:04 +0000 Organization: Usenet Network Message-ID: <179326680482.1714515.15230223868854423149.git-patchwork-notify@kernel.org> References: <20261026084503.4122732-1-tariqt@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1976489"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:jzVI0DVJisnZPILdTG9DTW0UAiM= sha256:s9Cd6JZDF2x9rqcbox47QHZ7QanWoNTw2gpJGK8VrKo= sha1:8adyotVVogrcws0nApuwu4vY9Pg= sha256:DGZGrom36txb+2n5Gn2XRcr3eVtxRj8Y5PvojdEjo2o= 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 36375125C5D; Thu, 29 Oct 2026 12:45:02 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 8ZA8wy1Zej1J; Thu, 29 Oct 2026 12:44:59 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353224-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 9A79112580F; Thu, 29 Oct 2026 12:44:49 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 6FFC72A16E; Thu, 29 Oct 2026 09:40:31 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793266830; b=Jvb7p6ft4yCXfA4VU5UYvbHrZiFQlRJCYl0t1IlBgHjXNEGK8CJ/TxNza24TrtFXB208 tcPY7thLmFrkhIT8jew+fqeku34RrjAMuhiURdfEVg76CkIMlLr2BOmf2/upRzeEYB8/p +JkIfoYOxkjJJkVJ8bvX0GhKIGg5vEwP6kyP/uqcjY7+FP3bhMdaiGczn7/EUC3Q6r5Wx eQ71bppfo4adk1nmxAw0gcVYlI0b3bIlf56T6jBkK0ADH2eK4/YtJh3q0qHgEYlVgeg7R esSjlkC7lXf7tjD/bfyvWhbrPZB71PO62kZvSBNuqNAovaFDIAP47A41zFQSgHP5eIw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793266830; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=3eAv1cEdy32yYM8r6enZ9YmdYV3ELmvkNNHj5rXV/6E=; b=FOjvDRK+j1aK7na9yohhAgpKgEf9z4Fop1GYs4mrxXyYXJMJ2GzorHRlLuBldgCBoFAU qkNBNenVqz6/icisKxGS0auJrFeP2BEL5PgX89mZLTv6sgG/U+A5IUg8K+D3X06pMoHpK 7VzOEhfDHY/luixAkTIJjjT5Ar6Ovrotgduj3CJpXaAKBH5pJAxBLmbKBsvTNFLd3bUJf X9+kz5B6wRtMzXJGFf2T3wGDZ5uXf01TVeowVqfNvcRpPnmoIq8wsLpWHaNHHbdqP0XLN c7VnP88ozwxmKHJXAj0Tj7Ida/EpXjnA00Snhzw6goF6WEaLFhpZJUj0qjkzLfvNW1g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dm7HLKwg; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C20CC606A323; Thu, 29 Oct 2026 09:40:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dm7HLKwg X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793266806; b=xolOurC1bpQ87Wz6Wob+lXugiIYGsBp/HBzItw7NfrG24Nz+NIAt9usI/0LPTFkSHH7H t1wyILpCT1B8DehaSWniZFGm6OBFrQb4yyQP3MsBcBtZZwWYEUoj91c8pzZETSwBIDfgu qRgdsXfoOjtgbWhmiHFqSXQm/3lXlU9oHriyj1i3Cg35jNMNjt318pMqxs9/7J6H0yhI0 2uc3WsjscrbB8BQFVSNN6FHt3peAMi7DhkuE8JdZVm104S2QzykIrRH5EoRkNhcgrw2fb 7Iefd4kXeB1b3XfTjpoUtvmd6aO6xTlgFhH8Gt6IHZI94sLDk56HVYBxN5paQ+n+3bQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793266806; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=3eAv1cEdy32yYM8r6enZ9YmdYV3ELmvkNNHj5rXV/6E=; b=lE/Es+WCKkknrEysTJp3TXkfcyJ3fQie00X6mZH8pze5p1jWzNoXhsEaBrQpvVpKCi6Y o+feT4BMQ7nzoat6oirPhxHXDh/TkvBA/t5nI3X24R1C/2QUUhzgpZ2Kd3+b89n5GIXE7 nxIUK9fzmFOQoNKNMWeOUDDvoHCXdd+CSFo+wI2634z6Q1bRLwoF+6Q9uWCEgZq0VyoVm /sEBMaDNfq6GYELJCwsCsmaS2i5GYb/Wch7aoqWn0BjDUfxzXj9EAHSOvk4lalZD/KaaF kDB3/eZ+oBekrl67HOJoNU4CSVpMVQGdxYKoeNvxJfIbBSpSoNXoxxABVTEVkFG8nZQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dm7HLKwg; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A006606A31A; Thu, 29 Oct 2026 09:40:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FC151F01825; Thu, 29 Oct 2026 09:40:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793266806; bh=3eAv1cEdy32yYM8r6enZ9YmdYV3ELmvkNNHj5rXV/6E=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=dm7HLKwg3D6IephB+SDq+QcVxikrdJnWMIWS+JbRTSfoXSm860P4BjEIV0JVvVOwM hMua5vxWMBRQ2z+ydxHwYjgQL99fvyC4hBd4NI50tycIQ7xhTKYe6HrOa/t9xzgSkm I5wXVVXF5oA2CZCxlGgklYcp2P8fQBm/LhxRMZpHM/aCYOvVJLk93MjJjEOfqmJ+uQ w8M4wKsVx1ZZKEsT02gx0M4mcghRhXlvIWG8JqFg4pyHYuPXnbYTUupO4xVE51uCLt xQKngvQ9CXk0j2Y2bbx9w3VcTRI2r99ssB9QH05gliWALYjbbgB7MfXU2aAf6dJvDr S3d8w462QemUQ== 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 073963AB1399; Thu, 29 Oct 2026 09:40:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261026084503.4122732-1-tariqt@nvidia.com> X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, cratiu@nvidia.com, dtatulea@nvidia.com, gal@nvidia.com, leon@kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, mbloch@nvidia.com, saeedm@nvidia.com, horms@kernel.org