ibv_get_device_index

Function ibv_get_device_index 

Source
pub unsafe extern "C" fn ibv_get_device_index(
    device: *mut ibv_device,
) -> c_int
Expand description

ibv_get_device_index - Return kernel device index

Available for the kernel with support of IB device query over netlink interface. For the unsupported kernels, the relevant -1 will be returned.