umad_unregister (3) - Linux Man Pages

umad_unregister: unregister umad agent

NAME

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)

AUTHOR

Hal Rosenstock <halr [at] voltaire.com>