Man page - umad_register(3)
Packages contas this manual
- umad_dump(3)
- umad_get_fd(3)
- umad_send(3)
- umad_get_ca(3)
- umad_attribute_str(3)
- umad_get_port(3)
- umad_release_port(3)
- umad_set_grh_net(3)
- umad_status(3)
- umad_set_addr(3)
- umad_done(3)
- umad_method_str(3)
- umad_set_pkey(3)
- umad_close_port(3)
- umad_register(3)
- umad_set_addr_net(3)
- umad_get_mad(3)
- umad_init(3)
- umad_get_pkey(3)
- umad_get_issm_path(3)
- umad_poll(3)
- umad_free(3)
- umad_unregister(3)
- umad_register2(3)
- umad_debug(3)
- umad_mad_status_str(3)
- umad_set_grh(3)
- umad_get_cas_names(3)
- umad_register_oui(3)
- umad_addr_dump(3)
- umad_open_port(3)
- umad_get_ca_portguids(3)
- umad_class_str(3)
- umad_alloc(3)
- umad_recv(3)
- umad_size(3)
- umad_release_ca(3)
- umad_get_mad_addr(3)
apt-get install libibumad-dev
Manual
| UMAD_REGISTER(3) | OpenIB Programmer's Manual | UMAD_REGISTER(3) |
NAME
umad_register - register the specified management class and version for port
SYNOPSIS
#include <infiniband/umad.h> int umad_register(int portid, int mgmt_class, int mgmt_version , uint8_t rmpp_version, long method_mask[16/sizeof(long)]);
DESCRIPTION
umad_register() registers the specified management class, management version, and whether RMPP is being used for the port specified by the portid parameter. If method_mask array is provided, the caller is registered as a replier (server) for the methods having their corresponding bit on in the method_mask. If method_mask is NULL, the caller is registered as a MAD client, meaning that it can only receive replies on MADs that it sent (solicited MADs).
RETURN VALUE
umad_register() returns non-negative agent id number on
success, and a negative value on error as follows:
-EINVAL invalid port handle
-EPERM registration failed
SEE ALSO
umad_register_oui(3), umad_unregister(3)
AUTHOR
| May 11, 2007 | OpenIB |