Lines Matching refs:opcode
102 switch (wqe->wr.opcode) { in ipath_make_uc_req()
110 if (wqe->wr.opcode == IB_WR_SEND) in ipath_make_uc_req()
139 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in ipath_make_uc_req()
169 if (wqe->wr.opcode == IB_WR_SEND) in ipath_make_uc_req()
193 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in ipath_make_uc_req()
244 int opcode; in ipath_uc_rcv() local
283 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; in ipath_uc_rcv()
296 switch (opcode) { in ipath_uc_rcv()
317 if (opcode == OP(SEND_MIDDLE) || in ipath_uc_rcv()
318 opcode == OP(SEND_LAST) || in ipath_uc_rcv()
319 opcode == OP(SEND_LAST_WITH_IMMEDIATE)) in ipath_uc_rcv()
325 if (opcode == OP(RDMA_WRITE_MIDDLE) || in ipath_uc_rcv()
326 opcode == OP(RDMA_WRITE_LAST) || in ipath_uc_rcv()
327 opcode == OP(RDMA_WRITE_LAST_WITH_IMMEDIATE)) in ipath_uc_rcv()
332 if (opcode == OP(SEND_FIRST) || in ipath_uc_rcv()
333 opcode == OP(SEND_ONLY) || in ipath_uc_rcv()
334 opcode == OP(SEND_ONLY_WITH_IMMEDIATE) || in ipath_uc_rcv()
335 opcode == OP(RDMA_WRITE_FIRST) || in ipath_uc_rcv()
336 opcode == OP(RDMA_WRITE_ONLY) || in ipath_uc_rcv()
337 opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) in ipath_uc_rcv()
343 switch (opcode) { in ipath_uc_rcv()
358 if (opcode == OP(SEND_ONLY)) in ipath_uc_rcv()
360 else if (opcode == OP(SEND_ONLY_WITH_IMMEDIATE)) in ipath_uc_rcv()
410 wc.opcode = IB_WC_RECV; in ipath_uc_rcv()
464 if (opcode == OP(RDMA_WRITE_ONLY)) in ipath_uc_rcv()
466 else if (opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) in ipath_uc_rcv()
516 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in ipath_uc_rcv()
544 qp->r_state = opcode; in ipath_uc_rcv()