Linux Documentation
 help / color / mirror / Atom feed
* [PATCH net 0/2] devlink: Shared devlink locking fixes
@ 2026-12-02 13:38 Cosmin Ratiu
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Cosmin Ratiu @ 2026-12-02 13:38 UTC (permalink / raw)
  To: netdev
  Cc: Jiri Pirko, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Willem de Bruijn, Simon Horman, Jonathan Corbet,
	Shuah Khan, Randy Dunlap, Tariq Toukan, Cosmin Ratiu,
	Carolina Jubran, Dmytro Linkin, Vlad Buslov, 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/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-02 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 13:38 [PATCH net 0/2] devlink: Shared devlink locking fixes Cosmin Ratiu
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox