Lines Matching defs:opcode
88 if (wqe->wr.opcode == IB_WR_REG_MR ||
89 wqe->wr.opcode == IB_WR_LOCAL_INV) {
118 switch (wqe->wr.opcode) {
126 if (wqe->wr.opcode == IB_WR_SEND) {
155 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) {
186 if (wqe->wr.opcode == IB_WR_SEND) {
211 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) {
266 u32 opcode = packet->opcode;
298 switch (opcode) {
314 /* Check for opcode sequence errors. */
318 if (opcode == OP(SEND_MIDDLE) ||
319 opcode == OP(SEND_LAST) ||
320 opcode == OP(SEND_LAST_WITH_IMMEDIATE))
326 if (opcode == OP(RDMA_WRITE_MIDDLE) ||
327 opcode == OP(RDMA_WRITE_LAST) ||
328 opcode == OP(RDMA_WRITE_LAST_WITH_IMMEDIATE))
333 if (opcode == OP(SEND_FIRST) ||
334 opcode == OP(SEND_ONLY) ||
335 opcode == OP(SEND_ONLY_WITH_IMMEDIATE) ||
336 opcode == OP(RDMA_WRITE_FIRST) ||
337 opcode == OP(RDMA_WRITE_ONLY) ||
338 opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE))
347 switch (opcode) {
367 if (opcode == OP(SEND_ONLY))
369 else if (opcode == OP(SEND_ONLY_WITH_IMMEDIATE))
406 wc.opcode = IB_WC_RECV;
466 if (opcode == OP(RDMA_WRITE_ONLY)) {
468 } else if (opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) {
506 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM;
530 qp->r_state = opcode;