umad_*_str - class of functions to return string representations of enums
Contents
Description
constchar*umad_class_str(uint8_tmgmt_class) Return string value of management class enum
constchar*umad_method_str(uint8_tmgmt_class,uint8_tmethod) Return string value of the method for
the mgmt_class specified
constchar*umad_attribute_str(uint8_tmgmt_class,be16_tattr_id) Return string value of attribute
specified in attr_id based on mgmt_class specified.
constchar*umad_common_mad_status_str(be16_tstatus) Return string value for common MAD status values
constchar*umad_sa_mad_status_str(be16_tstatus) Return string value for SA MAD status values
NOTE: Not all classes are supported.
Name
umad_*_str - class of functions to return string representations of enums
Return Value
Returns a string representations of the fields specified.
Synopsis
#include<infiniband/umad_str.h>constchar*umad_class_str(uint8_tmgmt_class)constchar*umad_method_str(uint8_tmgmt_class,uint8_tmethod)constchar*umad_attribute_str(uint8_tmgmt_class,be16_tattr_id)constchar*umad_common_mad_status_str(be16_tstatus)constchar*umad_sa_mad_status_str(be16_tstatus)
