Lines Matching defs:rpc
76 ib_rpc_t *rpc = &smp->rpc;
81 if (rpc->mgtclass == IB_SMI_CLASS) {
83 } else if (rpc->mgtclass == IB_SMI_DIRECT_CLASS) {
90 if ((rc = mad_build_pkt(umad, &smp->rpc, &smp->path, NULL, NULL))
119 cl_qmap_insert(&engine->smps_on_wire, (uint32_t) smp->rpc.trid,
138 smp->rpc.method = IB_MAD_METHOD_GET;
139 smp->rpc.attr.id = attrid;
140 smp->rpc.attr.mod = mod;
141 smp->rpc.timeout = engine->cfg->timeout_ms;
142 smp->rpc.datasz = IB_SMP_DATA_SIZE;
143 smp->rpc.dataoffs = IB_SMP_DATA_OFFS;
144 smp->rpc.trid = mad_trid();
145 smp->rpc.mkey = engine->cfg->mkey;
149 smp->rpc.mgtclass = IB_SMI_DIRECT_CLASS; /* direct SMI */
151 smp->rpc.mgtclass = IB_SMI_CLASS; /* Lid routed SMI */
194 portid2str(&smp->path), smp->rpc.attr.id,
195 smp->rpc.attr.mod, status, strerror(status));
196 if (smp->rpc.attr.id == IB_ATTR_MLNX_EXT_PORT_INFO)
201 portid2str(&smp->path), smp->rpc.attr.id,
202 smp->rpc.attr.mod, status);
203 if (smp->rpc.attr.id == IB_ATTR_MLNX_EXT_PORT_INFO)