logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

umad_*_str - class of functions to return string representations of enums

Author

Ira Weiny <weiny2@llnl.gov> OpenIB Feb 15, 2013 UMAD_CLASS_STR(3)

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)

See Also