summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2026-10-01 11:43:41 -0400
committerLeon Romanovsky <leon@kernel.org>2026-10-01 11:43:41 -0400
commit83289f6596d268699bbe035a511d78fb131fe221 (patch)
tree7a5e54e8b27424a76d2cf098af0ecfc5ea98d345 /include/linux/platform_data
parent4dd2160af277acf8f2897a2ec7df4352a7ca50bd (diff)
parent00290b9ff59ef47b990d26a6b1a8b2ea6dedf5e9 (diff)
downloadlinux-next-83289f6596d268699bbe035a511d78fb131fe221.tar.gz
linux-next-83289f6596d268699bbe035a511d78fb131fe221.zip
mlx5: Move data direct infrastructure to mlx5_core
Data direct support currently lives in mlx5_ib, which owns the data direct PCI driver, device matching and resource management. To prepare for data direct support in netdev, move this infrastructure to mlx5_core and provide a common interface for its consumers. The series first replaces the direct IB unbind callback with a blocking notifier chain, allowing multiple consumers to receive unbind events. It then separates consumer registration from initialization, consolidates the per-device state and resources, and keeps IB-specific locking and MR teardown in mlx5_ib. With these preparations in place, the final patch moves the shared implementation and PCI driver to mlx5_core. Data direct initialization and resource creation run during core load, before consumers attach; cleanup runs during core unload, after consumers detach. The data direct PCI driver is also explicitly named "mlx5_dd", replacing the previous "mlx5_ib" name derived from KBUILD_MODNAME. This series by Dragos prepares the shared infrastructure for netdev support. The netdev consumer will follow in a separate series. Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions