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 <[email protected]>