SysTutorials

Linux Manual Pages › Section 3

umad_unregister(3)

umad_unregister – unregister umad agent

Synopsis

#include <infiniband/umad.h>
int umad_unregister(int portid, int agentid);

Description

umad_unregister() unregisters the specified agentid previously registered using umad_register() or umad_register_oui().

Return Value

umad_unregister() returns 0 on success and negative value on error as follows:
 -EINVAL invalid port handle or agentid
 *       (kernel error codes)

See Also

umad_register(3), umad_register_oui(3)

Author

Hal Rosenstock <halr [at] voltaire.com>