mirror-linux/include/linux/mlx5
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
..
cq.h mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
device.h net/mlx5: Add RS FEC histogram infrastructure 2025-09-09 04:18:19 -04:00
doorbell.h
driver.h net/mlx5: Move SF dev table notifier registration outside the PF devlink lock 2025-11-19 20:32:28 -08:00
eq.h
eswitch.h
fs.h Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2025-11-14 18:55:38 -08:00
fs_helpers.h
macsec.h
mlx5_ifc.h Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2025-11-14 18:55:38 -08:00
mlx5_ifc_fpga.h
mlx5_ifc_vdpa.h
mpfs.h
port.h net/mlx5: Expose definition for 1600Gbps link mode 2025-11-12 03:35:14 -05:00
qp.h net/mlx5e: Prevent WQE metadata conflicts between timestamping and offloads 2025-09-17 04:38:10 -04:00
rsc_dump.h
transobj.h
vport.h {rdma,net}/mlx5: Query vports mac address from device 2025-10-24 20:16:01 -07:00