umad_class_str(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | COLOPHON

UMAD_CLASS_STR(3)      OpenIB Programmer's Manual      UMAD_CLASS_STR(3)

NAME         top

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

SYNOPSIS         top

       #include <infiniband/umad_str.h>

       const char * umad_class_str(uint8_t mgmt_class)
       const char * umad_method_str(uint8_t mgmt_class, uint8_t method)
       const char * umad_attribute_str(uint8_t mgmt_class, be16_t attr_id)

       const char * umad_common_mad_status_str(be16_t status)
       const char * umad_sa_mad_status_str(be16_t status)

DESCRIPTION         top

       const char * umad_class_str(uint8_t mgmt_class) Return string
       value of management class enum

       const char * umad_method_str(uint8_t mgmt_class, uint8_t method)
       Return string value of the method for the mgmt_class specified

       const char * umad_attribute_str(uint8_t mgmt_class, be16_t
       attr_id) Return string value of attribute specified in attr_id
       based on mgmt_class specified.

       const char * umad_common_mad_status_str(be16_t status) Return
       string value for common MAD status values

       const char * umad_sa_mad_status_str(be16_t status) Return string
       value for SA MAD status values

       NOTE: Not all classes are supported.

RETURN VALUE         top

       Returns a string representations of the fields specified.

AUTHOR         top

       Ira Weiny <weiny2@llnl.gov>

COLOPHON         top

       This page is part of the rdma-core (RDMA Core Userspace Libraries
       and Daemons) project.  Information about the project can be found
       at ⟨https://github.com/linux-rdma/rdma-core⟩.  If you have a bug
       report for this manual page, send it to
       linux-rdma@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2021-04-01.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2021-03-24.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

OpenIB                        Feb 15, 2013             UMAD_CLASS_STR(3)