dwww Home | Manual pages | Find package

IBV_GET_DEVICE_INDEX(3) Libibverbs Programmer’s Manual IBV_GET_DEVICE_INDEX(3)

NAME
       ibv_get_device_index - get an RDMA device index

SYNOPSIS
              #include <infiniband/verbs.h>

              int ibv_get_device_index(struct ibv_device *device);

DESCRIPTION
       ibv_get_device_index() returns stable IB device index as it is assigned
       by the kernel.

RETURN VALUE
       ibv_get_device_index() returns an index, or -1 if  the  kernel  doesn’t
       support device indexes.

SEE ALSO
       ibv_get_device_name(3), ibv_get_device_guid(3), ibv_get_device_list(3),
       ibv_open_device(3)

AUTHOR
       Leon Romanovsky <leonro@mellanox.com>

libibverbs                        2020-04-22           IBV_GET_DEVICE_INDEX(3)

Generated by dwww version 1.15 on Sat Jun 29 11:10:12 CEST 2024.