diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2026-09-30 14:42:27 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-01 11:40:42 -0400 |
| commit | 00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9 (patch) | |
| tree | 04e65c4f1ec6e8eb62851d04b4523dfd55f7ba61 /include/linux/platform_data | |
| parent | 7611034dc86cfda555a49a970ef2a8664c1b8680 (diff) | |
| download | linux-next-00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9.tar.gz linux-next-00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9.zip | |
mlx5: Move data direct implementation to mlx5_core
As data direct will also be used by netdev devices, move the data direct
code to mlx5_core. Now mlx5_core is responsible for data direct
initialization and resource creation.
Now data_direct is initialized in mlx5_load() before attaching consumers
and clean it up in mlx5_unload() after detaching them. The data direct
PCI driver is moved and registered in mlx5_core.
IB specific work stays in mlx5_ib: notifier registration, mutex
initialization and MR list initialization.
Failure to query the VUID is now fatal because this is done only on
devices that support data direct. Other than this, this patch has no
additional functional changes.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Link: https://patch.msgid.link/20260930114227.139274-11-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
