From: Cosmin Ratiu <cratiu@nvidia.com>
To: <netdev@vger.kernel.org>
Cc: Jiri Pirko <jiri@resnulli.us>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
Willem de Bruijn <willemb@google.com>,
"Simon Horman" <horms@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
"Tariq Toukan" <tariqt@nvidia.com>,
Cosmin Ratiu <cratiu@nvidia.com>,
Carolina Jubran <cjubran@nvidia.com>,
Dmytro Linkin <dlinkin@nvidia.com>,
Vlad Buslov <vladbu@nvidia.com>, <linux-doc@vger.kernel.org>
Subject: [PATCH net 0/2] devlink: Shared devlink locking fixes
Date: Wed, 2 Dec 2026 15:38:36 +0200 [thread overview]
Message-ID: <20261202133838.834971-1-cratiu@nvidia.com> (raw)
This patch pair fixes a design flaw in the cross device rate scheduling
([1]) which resulted in a bug on mlx5.
One patch fixes the code, the other one the devlink shd documentation.
[1] https://lore.kernel.org/netdev/20260701073254.754518-1-tariqt@nvidia.com/
Cosmin Ratiu (2):
devlink: Lock the shared instance directly for cross-device rates
devlink: Restore parent -> nested instance locking order
.../networking/devlink/devlink-shared.rst | 7 ++-
Documentation/networking/devlink/index.rst | 11 +++-
include/net/devlink.h | 7 ++-
net/devlink/core.c | 61 +++++++++++++------
net/devlink/devl_internal.h | 11 ++--
net/devlink/rate.c | 53 +++++++++-------
net/devlink/sh_dev.c | 2 +
7 files changed, 103 insertions(+), 49 deletions(-)
--
2.53.0
next reply other threads:[~2026-12-02 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 13:38 Cosmin Ratiu [this message]
2026-12-02 13:38 ` [PATCH net 1/2] devlink: Lock the shared instance directly for cross-device rates Cosmin Ratiu
2026-12-02 13:38 ` [PATCH net 2/2] devlink: Restore parent -> nested instance locking order Cosmin Ratiu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202133838.834971-1-cratiu@nvidia.com \
--to=cratiu@nvidia.com \
--cc=cjubran@nvidia.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=dlinkin@nvidia.com \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=tariqt@nvidia.com \
--cc=vladbu@nvidia.com \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox