NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | COLOPHON |
|
|
UMAD_GET_MAD_ADDR(3) OpenIB Programmer's Manual UMAD_GET_MAD_ADDR(3)
umad_get_mad_addr - get the address of the ib_mad_addr from a umad buffer
#include <infiniband/umad.h> ib_mad_addr_t * umad_get_mad_addr(void *umad);
umad_get_mad_addr() returns a pointer to the ib_mad_addr struct within the specified umad buffer.
The return value is a pointer to an ib_mad_addr_t struct, as specified in <infiniband/umad.h>. typedef struct ib_mad_addr { uint32_t qpn; uint32_t qkey; uint16_t lid; uint8_t sl; uint8_t path_bits; uint8_t grh_present; uint8_t gid_index; uint8_t hop_limit; uint8_t traffic_class; uint8_t gid[16]; uint32_t flow_label; } ib_mad_addr_t;
Hal Rosenstock <halr@voltaire.com>
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 2024-06-14. (At
that time, the date of the most recent commit that was found in
the repository was 2024-06-10.) 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 May 21, 2007 UMAD_GET_MAD_ADDR(3)