umad_open_port(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON

UMAD_OPEN_PORT(3)      OpenIB Programmer's Manual      UMAD_OPEN_PORT(3)

NAME         top

       umad_open_port - open InfiniBand device port for umad access

SYNOPSIS         top

       #include <infiniband/umad.h>

       int umad_open_port(char *ca_name, int portnum);

DESCRIPTION         top

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

RETURN VALUE         top

       umad_open_port() returns 0 or an unique positive value of umad
       device descriptor on success, and a negative value on error as
       follows:
        -EOPNOTSUPP ABI version doesn't match
        -ENODEV     IB device can't be resolved
        -EINVAL     port is not valid (bad portnum or no umad device)
        -EIO        umad device for this port can't be opened

SEE ALSO         top

       umad_close_port(3), umad_get_cas_names(3), umad_get_port(3)

AUTHOR         top

       Hal Rosenstock <[email protected]>

COLOPHON         top

       This page is part of the rdma-core (RDMA Core Userspace Libraries
       and Daemons) project.  Information about the project can be found
       at ⟨https://github.com/linux-rdma/rdma-core⟩.  If you have a bug
       report for this manual page, send it to
       [email protected].  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2024-06-14.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2024-06-10.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

OpenIB                        May 21, 2007             UMAD_OPEN_PORT(3)

Pages that refer to this page: umad_close_port(3)umad_get_cas_names(3)umad_get_issm_path(3)