]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/libibverbs/man/ibv_query_gid.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / libibverbs / man / ibv_query_gid.3
1 .\" -*- nroff -*-
2 .\"
3 .TH IBV_QUERY_GID 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual"
4 .SH "NAME"
5 ibv_query_gid \- query an InfiniBand port's GID table
6 .SH "SYNOPSIS"
7 .nf
8 .B #include <infiniband/verbs.h>
9 .sp
10 .BI "int ibv_query_gid(struct ibv_context " "*context" ", uint8_t " "port_num" ,
11 .BI "                  int " "index" ", union ibv_gid " "*gid" );
12 .fi
13 .SH "DESCRIPTION"
14 .B ibv_query_gid()
15 returns the GID value in entry
16 .I index
17 of port
18 .I port_num
19 for device context
20 .I context
21 through the pointer
22 .I gid\fR.
23 .SH "RETURN VALUE"
24 .B ibv_query_gid()
25 returns 0 on success, and \-1 on error.
26 .SH "SEE ALSO"
27 .BR ibv_open_device (3),
28 .BR ibv_query_device (3),
29 .BR ibv_query_port (3),
30 .BR ibv_query_pkey (3)
31 .SH "AUTHORS"
32 .TP
33 Dotan Barak <dotanb@mellanox.co.il>