.\" Automatically generated by Pandoc 3.6.1 .\" .TH "IBV_GET_DEVICE_INDEX" "3" "2020\-04\-22" "libibverbs" "Libibverbs Programmer\[cq]s Manual" .SH NAME ibv_get_device_index \- get an RDMA device index .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int ibv_get_device_index(\f[B]struct\f[R] ibv_device *device); .EE .SH DESCRIPTION \f[B]ibv_get_device_index()\f[R] returns stable IB device index as it is assigned by the kernel. .SH RETURN VALUE \f[B]ibv_get_device_index()\f[R] returns an index, or \-1 if the kernel doesn\[cq]t support device indexes. .SH SEE ALSO \f[B]ibv_get_device_name\f[R](3), \f[B]ibv_get_device_guid\f[R](3), \f[B]ibv_get_device_list\f[R](3), \f[B]ibv_open_device\f[R](3) .SH AUTHOR Leon Romanovsky \c .MT leonro@mellanox.com .ME \c