1IBV_GET_DEVICE_INDEX(3) Libibverbs Programmer’s Manual IBV_GET_DEVICE_INDEX(3)
2
3
4

NAME

6       ibv_get_device_index - get an RDMA device index
7

SYNOPSIS

9              #include <infiniband/verbs.h>
10
11              int ibv_get_device_index(struct ibv_device *device);
12

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

22       ibv_get_device_name(3), ibv_get_device_guid(3), ibv_get_device_list(3),
23       ibv_open_device(3)
24

AUTHOR

26       Leon Romanovsky <leonro@mellanox.com>
27
28
29
30libibverbs                        2020-04-22           IBV_GET_DEVICE_INDEX(3)
Impressum