Function ibverbs::ffi::ibv_get_device_index [−][src]
pub unsafe extern "C" fn ibv_get_device_index(device: *mut ibv_device) -> c_int
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.