diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2026-09-30 14:42:18 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-01 11:40:42 -0400 |
| commit | a727a424068b5d54fe80ad1cfbf2fa6be2f39e61 (patch) | |
| tree | 93bcca5ff18285ef5e0e7310c568914673c8a359 /include/linux | |
| parent | 36b1d3299d0b6aa51485cc9a79b8d94948d5f3d4 (diff) | |
RDMA/mlx5: Notify data direct users via a notifier chain on unbind
Currently during unbind, data direct code calls
mlx5_ib_data_direct_unbind() directly. To make the unbind notification
generic and support multiple users, deliver an MLX5_DATA_DIRECT_UNBIND
event through a blocking_notifier chain kept per registration.
Users register a notifier_block via mlx5_data_direct_ib_reg(); mlx5_ib
embeds one in struct mlx5_ib_dev and, from its notifier callback, runs
the existing mlx5_ib_data_direct_unbind() teardown.
This patch doesn't introduce any functional changes.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260930114227.139274-2-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
