umad_get_fd — get the umad fd for the requested port

Synopsis

#include <infiniband/umad.h>

int umad_get_fd(int portid);

Description

umad_get_fd() returns the umad fd for the port specified by portid.

Return Value

umad_get_fd() returns the fd for the portid requested or -EINVAL if portid is invalid.

Author

Hal Rosenstock <halr@voltaire.com>

Info

May 17, 2007 OpenIB Programmer´s Manual