Lines Matching defs:opcode
129 if (wqe->wr.opcode == IB_WR_REG_MR ||
130 wqe->wr.opcode == IB_WR_LOCAL_INV) {
159 switch (wqe->wr.opcode) {
167 if (wqe->wr.opcode == IB_WR_SEND) {
196 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) {
227 if (wqe->wr.opcode == IB_WR_SEND) {
252 if (wqe->wr.opcode == IB_WR_RDMA_WRITE) {
312 u32 opcode = packet->opcode;
344 switch (opcode) {
360 /* Check for opcode sequence errors. */
364 if (opcode == OP(SEND_MIDDLE) ||
365 opcode == OP(SEND_LAST) ||
366 opcode == OP(SEND_LAST_WITH_IMMEDIATE))
372 if (opcode == OP(RDMA_WRITE_MIDDLE) ||
373 opcode == OP(RDMA_WRITE_LAST) ||
374 opcode == OP(RDMA_WRITE_LAST_WITH_IMMEDIATE))
379 if (opcode == OP(SEND_FIRST) ||
380 opcode == OP(SEND_ONLY) ||
381 opcode == OP(SEND_ONLY_WITH_IMMEDIATE) ||
382 opcode == OP(RDMA_WRITE_FIRST) ||
383 opcode == OP(RDMA_WRITE_ONLY) ||
384 opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE))
393 switch (opcode) {
413 if (opcode == OP(SEND_ONLY))
415 else if (opcode == OP(SEND_ONLY_WITH_IMMEDIATE))
452 wc.opcode = IB_WC_RECV;
512 if (opcode == OP(RDMA_WRITE_ONLY)) {
514 } else if (opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) {
552 wc.opcode = IB_WC_RECV_RDMA_WITH_IMM;
576 qp->r_state = opcode;