pub fn mlx5dv_supported() -> boolExpand description
Checks if mlx5dv (Mellanox device-specific verbs extension) is supported.
This function attempts to open the first available RDMA device and check if mlx5dv extensions can be initialized. The mlx5dv extensions are required for advanced features like GPU Direct RDMA and direct queue pair manipulation.
The result is cached after the first call, making subsequent calls essentially free.
ยงReturns
true if mlx5dv extensions are supported, false otherwise.