Merge branch 'net-remove-rtnl_lock-from-the-callers-of-queue-apis'
authorJakub Kicinski <kuba@kernel.org>
Wed, 12 Mar 2025 20:32:40 +0000 (13:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Mar 2025 20:32:40 +0000 (13:32 -0700)
commit3552138a552447202814584de66fa1a2777f3d77
treeb42e6ccff4ac3e7de770512b6f7463680b621bfa
parent17fef2042338e19ed7b57484da4db9e3a3b47c76
parent1d22d3060b9b1f33da617045480c59c4c0511196
Merge branch 'net-remove-rtnl_lock-from-the-callers-of-queue-apis'

Stanislav Fomichev says:

====================
net: remove rtnl_lock from the callers of queue APIs

All drivers that use queue management APIs already depend on the netdev
lock. Ultimately, we want to have most of the paths that work with
specific netdev to be rtnl_lock-free (ethtool mostly in particular).
Queue API currently has a much smaller API surface, so start with
rtnl_lock from it:

- add mutex to each dmabuf binding (to replace rtnl_lock)
- move netdev lock management to the callers of netdev_rx_queue_restart
  and drop rtnl_lock
====================

Link: https://patch.msgid.link/20250311144026.4154277-1-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>