Lines Matching defs:umad
41 #include <infiniband/umad.h>
75 uint8_t umad[1024];
79 memset(umad, 0, umad_size() + IB_MAD_SIZE);
90 if ((rc = mad_build_pkt(umad, &smp->rpc, &smp->path, NULL, NULL))
96 if ((rc = umad_send(engine->umad_fd, agent, umad, IB_MAD_SIZE,
167 uint8_t umad[sizeof(struct ib_user_mad) + IB_MAD_SIZE];
170 memset(umad, 0, sizeof(umad));
173 if ((rc = umad_recv(engine->umad_fd, umad, &length,
179 mad = umad_get_mad(umad);
192 if ((status = umad_status(umad))) {
193 IBND_ERROR("umad (%s Attr 0x%x:%u) bad status %d; %s\n",