Query: umad_get_ca_portguids
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UMAD_GET_CA_PORTGUIDS(3) OpenIB Programmer's Manual UMAD_GET_CA_PORTGUIDS(3)NAMEumad_get_ca_portguids - get the InfiniBand device ports GUIDsSYNOPSIS#include <infiniband/umad.h> int umad_get_ca_portguids(char *ca_name, uint64_t *portguids, int max);DESCRIPTIONumad_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 VALUEOn success, umad_get_ca_portguids() returns a non-negative value equal to the number of port GUIDs actually filled. On failure, a negative value is returned.SEE ALSOumad_get_cas_names(3)AUTHORSHal Rosenstock <halr@voltaire.com> Dotan Barak <dotanb@mellanox.co.il> OpenIB May 11, 2007 UMAD_GET_CA_PORTGUIDS(3)