Man page - umad_get_ca_portguids(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)
Package: libibumad-dev
apt-get install libibumad-dev
apt-get install libibumad-dev
Manuals in package:
Documentations in package:
Manual
| UMAD_GET_CA_PORTGUIDS(3) | OpenIB Programmer's Manual | UMAD_GET_CA_PORTGUIDS(3) |
NAME
umad_get_ca_portguids - get the InfiniBand device ports GUIDs
SYNOPSIS
#include <infiniband/umad.h> int umad_get_ca_portguids(char *ca_name, __be64 *portguids, int max);
DESCRIPTION
umad_get_ca_portguids() fills the portguids array with up to max port GUIDs belonging the specified IB device ca_name , or to the default IB device if ca_name is NULL. The argument portguids is an array of max uint64_t entries.
RETURN VALUE
On success, umad_get_ca_portguids() returns a non-negative value equal to the number of port GUIDs actually filled. Not all filled entries may be valid. Invalid entries will be 0. For example, on a CA node with only one port, this function returns a value of 2. In this case, the value at index 0 will be invalid as it is reserved for switches. On failure, a negative value is returned.
SEE ALSO
umad_get_cas_names(3)
AUTHORS
| August 8, 2016 | OpenIB |