umad_init (3) Linux Manual Page
umad_init, umad_done – perform library initialization and finalization
Synopsis
#include <infiniband/umad.h>
int umad_init(void);
int umad_done(void);
Description
umad_init() initializes the umad library for use. Must be called before any other call to this library.
umad_done() finalizes the use of the umad library.
Return Value
umad_init() and umad_done() return 0 on success, and -1 on error. Error is returned from umad_init() if infiniband umad can’t be opened, or the abi version doesn’t match. There are no errors currently returned by umad_done().
Notes
If an error occurs during the library initialization, no further use of the umad library should be attempted.
Authors
- Hal Rosenstock <halr [at] voltaire.com>
- Dotan Barak <dotanb [at] mellanox.co.il>
