[PATCH net 0/2] devlink: Shared devlink locking fixes

From
Cosmin Ratiu <hidden>
Date
2026-12-02 13:39:32
Also in
linux-doc
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/ (local)

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
Thread (7 messages) 7 messages, 2 authors, last reply 18h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help