1UMAD_OPEN_PORT(3)         OpenIB Programmer´s Manual         UMAD_OPEN_PORT(3)
2
3
4

NAME

6       umad_open_port - open InfiniBand device port for umad access
7

SYNOPSIS

9       #include <infiniband/umad.h>
10
11       int umad_open_port(char *ca_name, int portnum);
12

DESCRIPTION

14       umad_open_port()  opens  the  port portnum of the IB device ca_name for
15       umad access. The port is selected by the library if not all  parameters
16       are provided (see umad_get_port() for details).
17

RETURN VALUE

19       umad_open_port()  returns  0 or an unique positive value of umad device
20       descriptor on success, and a negative value on error as follows:
21        -ENODEV IB device can´t be resolved
22        -EINVAL port is not valid (bad portnum or no umad device)
23        -EIO    umad device for this port can´t be opened
24

SEE ALSO

26       umad_close_port(3), umad_get_cas_names(3), umad_get_port(3)
27

AUTHOR

29       Hal Rosenstock <halr@voltaire.com>
30
31
32
33OpenIB                           May 21, 2007                UMAD_OPEN_PORT(3)
Impressum