Lines Matching defs:rmpp
287 ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, void *data)
296 DEBUG("rmpp %p data %p", rmpp, data);
300 if ((len = mad_build_pkt(sndbuf, rpc, dport, rmpp, data)) < 0)
327 xdump(stderr, "rmpp mad data\n", mad + rpc->dataoffs,
331 if (rmpp) {
332 rmpp->flags = mad_get_field(mad, 0, IB_SA_RMPP_FLAGS_F);
333 if ((rmpp->flags & 0x3) &&
335 IBWARN("bad rmpp version");
338 rmpp->type = mad_get_field(mad, 0, IB_SA_RMPP_TYPE_F);
339 rmpp->status = mad_get_field(mad, 0, IB_SA_RMPP_STATUS_F);
340 DEBUG("rmpp type %d status %d", rmpp->type, rmpp->status);
341 rmpp->d1.u = mad_get_field(mad, 0, IB_SA_RMPP_D1_F);
342 rmpp->d2.u = mad_get_field(mad, 0, IB_SA_RMPP_D2_F);
358 void *madrpc_rmpp(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp,
361 return mad_rpc_rmpp(ibmp, rpc, dport, rmpp, data);