.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "IB_QUERY_PORT" "9" "09 October 2005" "" "" .SH NAME ib_query_port \- Query IB port attributes .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ib_query_port (struct ib_device * \fIdevice\fB, u8 \fIport_num\fB, struct ib_port_attr * \fIport_attr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdevice\fB\fR Device to query .TP \fB\fIport_num\fB\fR Port number to query .TP \fB\fIport_attr\fB\fR Port attributes .SH "DESCRIPTION" .PP \fBib_query_port\fR returns the attributes of a port through the \fIport_attr\fR pointer.