twx-linux/include
Jakub Kicinski 310ae9eb26 net: designate queue -> napi linking as "ops protected"
netdev netlink is the only reader of netdev_{,rx_}queue->napi,
and it already holds netdev->lock. Switch protection of
the writes to netdev->lock to "ops protected".

The expectation will be now that accessing queue->napi
will require netdev->lock for "ops locked" drivers, and
rtnl_lock for all other drivers.

Current "ops locked" drivers don't require any changes.
gve and netdevsim use _locked() helpers right next to
netif_queue_set_napi() so they must be holding the instance
lock. iavf doesn't call it. bnxt is a bit messy but all paths
seem locked.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250324224537.248800-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-03-25 10:06:49 -07:00
..
acpi
asm-generic arm64 fixes for -rc5 2025-03-01 13:44:51 -08:00
clocksource
crypto
cxl
drm drm: Fix DSC BPP increment decoding 2025-02-13 10:20:30 +02:00
dt-bindings
hyperv
keys
kunit
kvm
linux net: designate queue -> napi linking as "ops protected" 2025-03-25 10:06:49 -07:00
math-emu
media
memory
misc
net net: designate queue -> napi linking as "ops protected" 2025-03-25 10:06:49 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound ASoC: ops: Consistently treat platform_max as control value 2025-03-05 17:25:25 +00:00
target
trace Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-02-27 10:20:58 -08:00
uapi virtio_net: Split struct virtio_net_rss_config 2025-03-25 09:30:21 -07:00
ufs
vdso
video
xen