umad_open_port(3) — Linux manual page
UMAD_OPEN_PORT(3) OpenIB Programmer's Manual UMAD_OPEN_PORT(3)
NAME
umad_open_port - open InfiniBand device port for umad access
SYNOPSIS
#include <infiniband/umad.h> int umad_open_port(char *ca_name, int portnum);
DESCRIPTION
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
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
umad_close_port(3), umad_get_cas_names(3), umad_get_port(3)
AUTHOR
Hal Rosenstock <halr@voltaire.com>
COLOPHON
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 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 man-pages@man7.org 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)