Function ibverbs_supported

Source
pub fn ibverbs_supported() -> bool
Expand description

Checks if ibverbs devices can be retrieved successfully.

This function attempts to retrieve the list of RDMA devices using the ibv_get_device_list function from the ibverbs library. It returns true if devices are found, and false otherwise.

The result is cached after the first call, making subsequent calls essentially free.

ยงReturns

true if devices are successfully retrieved, false otherwise.