umad_get_issm_path(3) — Linux manual page

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

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

NAME         top

       umad_get_issm_path - get path of issm device

SYNOPSIS         top

       #include <infiniband/umad.h>

       int umad_get_issm_path(char *ca_name, int portnum,char*path,intmax);

DESCRIPTION         top

       umad_get_issm_path() resolves path to issm device (which used for
       setting/clearing PortInfo:CapMask IsSM bit) for portnum of the IB
       device ca_name , it stores resolved path in path array which
       cannot exceed max bytes in length (including NULL terminator).
       Opening issm device sets PortInfo:CapMask IsSM bit and closing
       clears it.

RETURN VALUE         top

       umad_open_port() returns 0 on success and a negative value on
       error as follows:
        -ENODEV IB device can't be resolved
        -EINVAL port is not valid (bad portnum or no umad device)

SEE ALSO         top

       umad_open_port(3), umad_get_port(3)

AUTHOR         top

       Sasha Khapyorsky <sashak@voltaire.com>

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
       linux-rdma@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2021-04-01.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2021-03-24.)  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
       man-pages@man7.org

OpenIB                        Oct 18, 2007         UMAD_GET_ISSM_PATH(3)