3 .TH IBV_QUERY_GID 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual"
5 ibv_query_gid \- query an InfiniBand port's GID table
8 .B #include <infiniband/verbs.h>
10 .BI "int ibv_query_gid(struct ibv_context " "*context" ", uint8_t " "port_num" ,
11 .BI " int " "index" ", union ibv_gid " "*gid" );
15 returns the GID value in entry
25 returns 0 on success, and \-1 on error.
27 .BR ibv_open_device (3),
28 .BR ibv_query_device (3),
29 .BR ibv_query_port (3),
30 .BR ibv_query_pkey (3)
33 Dotan Barak <dotanb@mellanox.co.il>