Lines Matching refs:OP

11 #define OP(x) UC_OP(x)  macro
122 qp->s_state = OP(SEND_FIRST); in hfi1_make_uc_req()
127 qp->s_state = OP(SEND_ONLY); in hfi1_make_uc_req()
130 OP(SEND_ONLY_WITH_IMMEDIATE); in hfi1_make_uc_req()
151 qp->s_state = OP(RDMA_WRITE_FIRST); in hfi1_make_uc_req()
156 qp->s_state = OP(RDMA_WRITE_ONLY); in hfi1_make_uc_req()
159 OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE); in hfi1_make_uc_req()
176 case OP(SEND_FIRST): in hfi1_make_uc_req()
177 qp->s_state = OP(SEND_MIDDLE); in hfi1_make_uc_req()
179 case OP(SEND_MIDDLE): in hfi1_make_uc_req()
187 qp->s_state = OP(SEND_LAST); in hfi1_make_uc_req()
189 qp->s_state = OP(SEND_LAST_WITH_IMMEDIATE); in hfi1_make_uc_req()
201 case OP(RDMA_WRITE_FIRST): in hfi1_make_uc_req()
202 qp->s_state = OP(RDMA_WRITE_MIDDLE); in hfi1_make_uc_req()
204 case OP(RDMA_WRITE_MIDDLE): in hfi1_make_uc_req()
212 qp->s_state = OP(RDMA_WRITE_LAST); in hfi1_make_uc_req()
215 OP(RDMA_WRITE_LAST_WITH_IMMEDIATE); in hfi1_make_uc_req()
290 if (qp->r_state == OP(SEND_FIRST) || in hfi1_uc_rcv()
291 qp->r_state == OP(SEND_MIDDLE)) { in hfi1_uc_rcv()
297 qp->r_state = OP(SEND_LAST); in hfi1_uc_rcv()
299 case OP(SEND_FIRST): in hfi1_uc_rcv()
300 case OP(SEND_ONLY): in hfi1_uc_rcv()
301 case OP(SEND_ONLY_WITH_IMMEDIATE): in hfi1_uc_rcv()
304 case OP(RDMA_WRITE_FIRST): in hfi1_uc_rcv()
305 case OP(RDMA_WRITE_ONLY): in hfi1_uc_rcv()
306 case OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE): in hfi1_uc_rcv()
316 case OP(SEND_FIRST): in hfi1_uc_rcv()
317 case OP(SEND_MIDDLE): in hfi1_uc_rcv()
318 if (opcode == OP(SEND_MIDDLE) || in hfi1_uc_rcv()
319 opcode == OP(SEND_LAST) || in hfi1_uc_rcv()
320 opcode == OP(SEND_LAST_WITH_IMMEDIATE)) in hfi1_uc_rcv()
324 case OP(RDMA_WRITE_FIRST): in hfi1_uc_rcv()
325 case OP(RDMA_WRITE_MIDDLE): in hfi1_uc_rcv()
326 if (opcode == OP(RDMA_WRITE_MIDDLE) || in hfi1_uc_rcv()
327 opcode == OP(RDMA_WRITE_LAST) || in hfi1_uc_rcv()
328 opcode == OP(RDMA_WRITE_LAST_WITH_IMMEDIATE)) in hfi1_uc_rcv()
333 if (opcode == OP(SEND_FIRST) || in hfi1_uc_rcv()
334 opcode == OP(SEND_ONLY) || in hfi1_uc_rcv()
335 opcode == OP(SEND_ONLY_WITH_IMMEDIATE) || in hfi1_uc_rcv()
336 opcode == OP(RDMA_WRITE_FIRST) || in hfi1_uc_rcv()
337 opcode == OP(RDMA_WRITE_ONLY) || in hfi1_uc_rcv()
338 opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) in hfi1_uc_rcv()
348 case OP(SEND_FIRST): in hfi1_uc_rcv()
349 case OP(SEND_ONLY): in hfi1_uc_rcv()
350 case OP(SEND_ONLY_WITH_IMMEDIATE): in hfi1_uc_rcv()
367 if (opcode == OP(SEND_ONLY)) in hfi1_uc_rcv()
369 else if (opcode == OP(SEND_ONLY_WITH_IMMEDIATE)) in hfi1_uc_rcv()
372 case OP(SEND_MIDDLE): in hfi1_uc_rcv()
387 case OP(SEND_LAST_WITH_IMMEDIATE): in hfi1_uc_rcv()
392 case OP(SEND_LAST): in hfi1_uc_rcv()
436 case OP(RDMA_WRITE_FIRST): in hfi1_uc_rcv()
437 case OP(RDMA_WRITE_ONLY): in hfi1_uc_rcv()
438 case OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE): /* consume RWQE */ in hfi1_uc_rcv()
466 if (opcode == OP(RDMA_WRITE_ONLY)) { in hfi1_uc_rcv()
468 } else if (opcode == OP(RDMA_WRITE_ONLY_WITH_IMMEDIATE)) { in hfi1_uc_rcv()
473 case OP(RDMA_WRITE_MIDDLE): in hfi1_uc_rcv()
483 case OP(RDMA_WRITE_LAST_WITH_IMMEDIATE): in hfi1_uc_rcv()
511 case OP(RDMA_WRITE_LAST): in hfi1_uc_rcv()