3 .TH UMAD_OPEN_PORT 3 "May 21, 2007" "OpenIB" "OpenIB Programmer\'s Manual"
5 umad_open_port \- open InfiniBand device port for umad access
8 .B #include <infiniband/umad.h>
10 .BI "int umad_open_port(char " "*ca_name" ", int " "portnum" );
18 for umad access. The port is selected by the library if not all parameters
25 returns 0 or an unique positive value of umad device descriptor on success, and a negative value on error as follows:
26 -ENODEV IB device can\'t be resolved
27 -EINVAL port is not valid (bad
30 -EIO umad device for this port can\'t be opened
32 .BR umad_close_port (3),
33 .BR umad_get_cas_names (3),
37 Hal Rosenstock <halr@voltaire.com>