linux/drivers/net
Cosmin Ratiu 64ad6470c8 net/mlx5: Move SF dev table notifier registration outside the PF devlink lock
This completes the previous patches by moving notifier registration for
SF dev tables outside the devlink locked critical section in
mlx5_init_one() / mlx5_uninit_one() and into the mlx5_mdev_init() /
mlx5_mdev_uninit() functions.

This is only done for non-SFs, since SFs do not have a SF HW table
themselves.

After this patch, notifiers can grab the PF devlink lock (soon to be
necessary) without creating a locking cycle.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1763325940-1231508-7-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-19 20:32:28 -08:00
..
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-13 12:35:38 -08:00
caif
can can: bxcan: Fix a typo error for assign 2025-11-12 19:30:59 +01:00
dsa net: dsa: ks8995: Fix incorrect OF match table name 2025-11-18 18:22:04 -08:00
ethernet net/mlx5: Move SF dev table notifier registration outside the PF devlink lock 2025-11-19 20:32:28 -08:00
fddi
fjes net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
hamradio 6pack: drop redundant locking and refcounting 2025-09-30 10:10:59 +02:00
hippi
hyperv hyperv-next for v6.18 2025-10-07 08:40:15 -07:00
ieee802154
ipa net: ipa: Remove redundant pm_runtime_mark_last_busy() calls 2025-10-29 18:55:56 -07:00
ipvlan
mctp net: mctp: Fix tx queue stall 2025-10-29 17:55:14 -07:00
mdio net: mdio: Check regmap pointer returned by device_node_to_regmap() 2025-11-03 16:20:03 -08:00
netdevsim netdevsim: implement psp device stats 2025-11-07 18:53:57 -08:00
ovpn ovpn: use datagram_poll_queue for socket readiness in TCP 2025-10-23 15:46:04 +02:00
pcs net: pcs: xpcs-plat: fix MODULE_AUTHOR 2025-11-13 17:41:06 -08:00
phy net: phy: realtek: create rtl8211f_config_phy_eee() helper 2025-11-19 20:24:23 -08:00
plip
ppp net: Convert proto_ops connect() callbacks to use sockaddr_unsized 2025-11-04 19:10:32 -08:00
pse-pd net: pse-pd: tps23881: Add support for TPS23881B 2025-10-31 17:56:32 -07:00
slip
team team: use common function to compute the features 2025-10-21 18:08:23 -07:00
thunderbolt
usb net: usb: usbnet: adhere to style 2025-11-13 17:47:38 -08:00
vmxnet3 net: vmxnet3: convert to use .get_rx_ring_count 2025-11-19 20:14:21 -08:00
vxlan vxlan: Remove unused declarations eth_vni_hash() and fdb_head_index() 2025-11-13 17:20:54 -08:00
wan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
wireguard net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-13 12:35:38 -08:00
wwan net: wwan: Remove redundant pm_runtime_mark_last_busy() calls 2025-10-29 18:55:56 -07:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c gtp: Fix a typo error for size 2025-11-04 17:00:43 -08:00
ifb.c
loopback.c
macsec.c
macvlan.c net: replace use of system_unbound_wq with system_dfl_wq 2025-09-22 17:40:30 -07:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c netconsole: Acquire su_mutex before navigating configs hierarchy 2025-10-31 17:45:06 -07:00
netkit.c netkit: Document fast vs slowpath members via macros 2025-11-06 16:46:11 -08:00
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c net: sungem_phy: Fix a typo error in sungem_phy 2025-11-04 17:00:55 -08:00
tap.c
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-25 11:00:59 -07:00
tun_vnet.h
veth.c veth: Fix a typo error in veth 2025-11-04 17:00:50 -08:00
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-13 12:35:38 -08:00
vrf.c
vsockmon.c
xen-netfront.c xen/netfront: Comment Correction: Fix Spelling Error and Description of Queue Quantity Rules 2025-11-04 17:01:01 -08:00