Lines Matching refs:OP

38 #define OP(x) IB_OPCODE_UC_##x  macro
109 qp->s_state = OP(SEND_FIRST); in qib_make_uc_req()
114 qp->s_state = OP(SEND_ONLY); in qib_make_uc_req()
117 OP(SEND_ONLY_WITH_IMMEDIATE); in qib_make_uc_req()
138 qp->s_state = OP(RDMA_WRITE_FIRST); in qib_make_uc_req()
143 qp->s_state = OP(RDMA_WRITE_ONLY); in qib_make_uc_req()
146 OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in qib_make_uc_req()
163 case OP(SEND_FIRST): in qib_make_uc_req()
164 qp->s_state = OP(SEND_MIDDLE); in qib_make_uc_req()
166 case OP(SEND_MIDDLE): in qib_make_uc_req()
173 qp->s_state = OP(SEND_LAST); in qib_make_uc_req()
175 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in qib_make_uc_req()
187 case OP(RDMA_WRITE_FIRST): in qib_make_uc_req()
188 qp->s_state = OP(RDMA_WRITE_MIDDLE); in qib_make_uc_req()
190 case OP(RDMA_WRITE_MIDDLE): in qib_make_uc_req()
197 qp->s_state = OP(RDMA_WRITE_LAST); in qib_make_uc_req()
200 OP(RDMA_WRITE_LAST_WITH_IMMEDIATE); in qib_make_uc_req()
279 if (qp->r_state == OP(SEND_FIRST) || in qib_uc_rcv()
280 qp->r_state == OP(SEND_MIDDLE)) { in qib_uc_rcv()
285 qp->r_state = OP(SEND_LAST); in qib_uc_rcv()
287 case OP(SEND_FIRST): in qib_uc_rcv()
288 case OP(SEND_ONLY): in qib_uc_rcv()
289 case OP(SEND_ONLY_WITH_IMMEDIATE): in qib_uc_rcv()
292 case OP(RDMA_WRITE_FIRST): in qib_uc_rcv()
293 case OP(RDMA_WRITE_ONLY): in qib_uc_rcv()
294 case OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE): in qib_uc_rcv()
304 case OP(SEND_FIRST): in qib_uc_rcv()
305 case OP(SEND_MIDDLE): 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()
312 case OP(RDMA_WRITE_FIRST): in qib_uc_rcv()
313 case OP(RDMA_WRITE_MIDDLE): 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()
345 case OP(SEND_FIRST): in qib_uc_rcv()
346 case OP(SEND_ONLY): in qib_uc_rcv()
347 case OP(SEND_ONLY_WITH_IMMEDIATE): 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()
369 case OP(SEND_MIDDLE): in qib_uc_rcv()
379 case OP(SEND_LAST_WITH_IMMEDIATE): in qib_uc_rcv()
385 case OP(SEND_LAST): in qib_uc_rcv()
422 case OP(RDMA_WRITE_FIRST): in qib_uc_rcv()
423 case OP(RDMA_WRITE_ONLY): in qib_uc_rcv()
424 case OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE): /* consume RWQE */ 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()
460 case OP(RDMA_WRITE_MIDDLE): in qib_uc_rcv()
470 case OP(RDMA_WRITE_LAST_WITH_IMMEDIATE): in qib_uc_rcv()
501 case OP(RDMA_WRITE_LAST): in qib_uc_rcv()