umad_get_fd - get the umad fd for the requested port
#include <infiniband/umad.h> int umad_get_fd(int portid);
umad_get_fd() returns the umad fd for the port specified by portid.
umad_get_fd() returns the fd for the portid requested or -EINVAL if portid is invalid.
Hal Rosenstock <halr@voltaire.com>