diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2026-09-30 14:42:19 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-01 11:40:42 -0400 |
| commit | 2365f8d7f609cff766b150028372bc28d8b436f7 (patch) | |
| tree | c66f4a75265d81943137d5ced27779c10270b21e /tools/lib/python | |
| parent | a727a424068b5d54fe80ad1cfbf2fa6be2f39e61 (diff) | |
RDMA/mlx5: Add mlx5_data_direct_supported() helper
The data direct capability FW checks are duplicated inline in
mlx5_ib_data_direct_init() and mlx5_ib_data_direct_cleanup().
Wrap it in a mlx5_data_direct_supported() helper and use it in both
places, in preparation for moving the data direct matching code to
mlx5_core. For the same reason put it in driver.h instead of
data_direct.h.
No functional change.
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-3-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
