linux/include
Jakub Kicinski 581d28606c net: remove the netif_get_rx_queue_lease_locked() helpers
The netif_get_rx_queue_lease_locked() API hides the locking
and the descend onto the leased queue. Making the code
harder to follow (at least to me). Remove the API and open
code the descend a bit. Most of the code now looks like:

 if (!leased)
     return __helper(x);

 hw_rxq = ..
 netdev_lock(hw_rxq->dev);
 ret = __helper(x);
 netdev_unlock(hw_rxq->dev);

 return ret;

Of course if we have more code paths that need the wrapping
we may need to revisit. For now, IMHO, having to know what
netif_get_rx_queue_lease_locked() does is not worth the 20LoC
it saves.

Link: https://patch.msgid.link/20260408151251.72bd2482@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-09 18:26:28 -07:00
..
acpi
asm-generic
clocksource
crypto
cxl
drm
dt-bindings
hyperv
keys
kunit
kvm
linux Merge branch 'netkit-support-for-io_uring-zero-copy-and-af_xdp' 2026-04-09 18:24:35 -07:00
math-emu
media
memory
misc
net net: remove the netif_get_rx_queue_lease_locked() helpers 2026-04-09 18:26:28 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-09 13:20:59 -07:00
uapi Merge branch 'netkit-support-for-io_uring-zero-copy-and-af_xdp' 2026-04-09 18:24:35 -07:00
ufs
vdso
video
xen
Kbuild