Thread (2 messages) 2 messages, 2 authors, 2026-03-07

Re: [PATCH net V3] net/mlx5: Fix deadlock between devlink lock and esw->wq

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-07 01:30:16
Also in: linux-rdma, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 5 Mar 2026 10:10:19 +0200 you wrote:
From: Cosmin Ratiu <redacted>

esw->work_queue executes esw_functions_changed_event_handler ->
esw_vfs_changed_event_handler and acquires the devlink lock.

.eswitch_mode_set (acquires devlink lock in devlink_nl_pre_doit) ->
mlx5_devlink_eswitch_mode_set -> mlx5_eswitch_disable_locked ->
mlx5_eswitch_event_handler_unregister -> flush_workqueue deadlocks
when esw_vfs_changed_event_handler executes.

[...]
Here is the summary with links:
  - [net,V3] net/mlx5: Fix deadlock between devlink lock and esw->wq
    https://git.kernel.org/netdev/net/c/aed763abf0e9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help