1UMAD_CLASS_STR(3)         OpenIB Programmer´s Manual         UMAD_CLASS_STR(3)
2
3
4

NAME

6       umad_*_str  -  class  of  functions to return string representations of
7       enums
8
9

SYNOPSIS

11       #include <infiniband/umad_str.h>
12
13       const char * umad_class_str(uint8_t mgmt_class)
14       const char * umad_method_str(uint8_t mgmt_class, uint8_t method)
15       const char * umad_attribute_str(uint8_t mgmt_class, be16_t attr_id)
16
17       const char * umad_common_mad_status_str(be16_t status)
18       const char * umad_sa_mad_status_str(be16_t status)
19
20

DESCRIPTION

22       const char * umad_class_str(uint8_t mgmt_class) Return string value  of
23       management class enum
24
25       const char * umad_method_str(uint8_t mgmt_class, uint8_t method) Return
26       string value of the method for the mgmt_class specified
27
28       const char *  umad_attribute_str(uint8_t  mgmt_class,  be16_t  attr_id)
29       Return  string  value  of  attribute  specified  in  attr_id  based  on
30       mgmt_class specified.
31
32       const char * umad_common_mad_status_str(be16_t  status)  Return  string
33       value for common MAD status values
34
35       const  char * umad_sa_mad_status_str(be16_t status) Return string value
36       for SA MAD status values
37
38
39       NOTE: Not all classes are supported.
40
41

RETURN VALUE

43       Returns a string representations of the fields specified.
44
45

AUTHOR

47       Ira Weiny <weiny2@llnl.gov>
48
49
50
51OpenIB                           Feb 15, 2013                UMAD_CLASS_STR(3)
Impressum