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