Lines Matching refs:opcode
105 switch (wqe->wr.opcode) { in qib_make_uc_req()
113 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_uc_req()
142 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_uc_req()
172 if (wqe->wr.opcode == IB_WR_SEND) in qib_make_uc_req()
196 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) in qib_make_uc_req()
246 u32 opcode; in qib_uc_rcv() local
264 opcode = be32_to_cpu(ohdr->bth[0]); in qib_uc_rcv()
265 if (qib_ruc_check_hdr(ibp, hdr, has_grh, qp, opcode)) in qib_uc_rcv()
269 opcode >>= 24; in qib_uc_rcv()
286 switch (opcode) { in qib_uc_rcv()
306 if (opcode == OP(SEND_MIDDLE) || in qib_uc_rcv()
307 opcode == OP(SEND_LAST) || in qib_uc_rcv()
308 opcode == OP(SEND_LAST_WITH_IMMEDIATE)) in qib_uc_rcv()
314 if (opcode == OP(RDMA_WRITE_MIDDLE) || in qib_uc_rcv()
315 opcode == OP(RDMA_WRITE_LAST) || in qib_uc_rcv()
316 opcode == OP(RDMA_WRITE_LAST_WITH_IMMEDIATE)) in qib_uc_rcv()
321 if (opcode == OP(SEND_FIRST) || in qib_uc_rcv()
322 opcode == OP(SEND_ONLY) || in qib_uc_rcv()
323 opcode == OP(SEND_ONLY_WITH_IMMEDIATE) || in qib_uc_rcv()
324 opcode == OP(RDMA_WRITE_FIRST) || in qib_uc_rcv()
325 opcode == OP(RDMA_WRITE_ONLY) || in qib_uc_rcv()
326 opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) in qib_uc_rcv()
344 switch (opcode) { in qib_uc_rcv()
364 if (opcode == OP(SEND_ONLY)) in qib_uc_rcv()
366 else if (opcode == OP(SEND_ONLY_WITH_IMMEDIATE)) in qib_uc_rcv()
401 wc.opcode = IB_WC_RECV; in qib_uc_rcv()
453 if (opcode == OP(RDMA_WRITE_ONLY)) in qib_uc_rcv()
455 else if (opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) { in qib_uc_rcv()
496 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM; in qib_uc_rcv()
522 qp->r_state = opcode; in qib_uc_rcv()