Ubuntu Manpages

umad_unregister

unregister umad agent

#include <infiniband/umad.h>

int umad_unregister(int portid, int agentid);

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

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

umad_register(3), umad_register_oui(3)