Home
last modified time | relevance | path

Searched refs:swsqe (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ofed/libcxgb4/
H A Dcq.c102 struct t4_swsqe *swsqe; in c4iw_flush_sq() local
109 swsqe = &wq->sq.sw_sq[idx]; in c4iw_flush_sq()
110 BUG_ON(swsqe->flushed); in c4iw_flush_sq()
111 swsqe->flushed = 1; in c4iw_flush_sq()
112 insert_sq_cqe(wq, cq, swsqe); in c4iw_flush_sq()
113 if (wq->sq.oldest_read == swsqe) { in c4iw_flush_sq()
114 BUG_ON(swsqe->opcode != FW_RI_READ_REQ); in c4iw_flush_sq()
128 struct t4_swsqe *swsqe; in flush_completed_wrs() local
137 swsqe = &wq->sq.sw_sq[cidx]; in flush_completed_wrs()
138 if (!swsqe->signaled) { in flush_completed_wrs()
[all …]
H A Ddev.c276 struct t4_swsqe *swsqe; in dump_qp() local
312 swsqe = &qhp->wq.sq.sw_sq[cidx]; in dump_qp()
317 swsqe->wr_id, in dump_qp()
318 swsqe->idx, in dump_qp()
319 swsqe->read_len, in dump_qp()
320 swsqe->opcode, in dump_qp()
321 swsqe->complete, in dump_qp()
322 swsqe->signaled, in dump_qp()
323 htobe64(((uint64_t *)&swsqe->cqe)[0]), in dump_qp()
324 htobe64(((uint64_t *)&swsqe->cqe)[1]), in dump_qp()
[all …]
H A Dqp.c319 struct t4_swsqe *swsqe; in c4iw_post_send() local
348 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx]; in c4iw_post_send()
355 swsqe->opcode = FW_RI_SEND; in c4iw_post_send()
361 swsqe->opcode = FW_RI_RDMA_WRITE; in c4iw_post_send()
367 swsqe->opcode = FW_RI_READ_REQ; in c4iw_post_send()
372 swsqe->read_len = wr->sg_list ? wr->sg_list[0].length : in c4iw_post_send()
375 qhp->wq.sq.oldest_read = swsqe; in c4iw_post_send()
386 swsqe->idx = qhp->wq.sq.pidx; in c4iw_post_send()
387 swsqe->complete = 0; in c4iw_post_send()
388 swsqe->signaled = (wr->send_flags & IBV_SEND_SIGNALED) || in c4iw_post_send()
[all …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcq.c264 struct t4_swsqe *swsqe; in c4iw_flush_sq() local
271 swsqe = &wq->sq.sw_sq[idx]; in c4iw_flush_sq()
272 BUG_ON(swsqe->flushed); in c4iw_flush_sq()
273 swsqe->flushed = 1; in c4iw_flush_sq()
274 insert_sq_cqe(wq, cq, swsqe); in c4iw_flush_sq()
275 if (wq->sq.oldest_read == swsqe) { in c4iw_flush_sq()
276 BUG_ON(swsqe->opcode != FW_RI_READ_REQ); in c4iw_flush_sq()
291 struct t4_swsqe *swsqe; in flush_completed_wrs() local
300 swsqe = &wq->sq.sw_sq[cidx]; in flush_completed_wrs()
301 if (!swsqe->signaled) { in flush_completed_wrs()
[all …]
H A Dqp.c784 struct t4_swsqe *swsqe; in c4iw_post_send() local
819 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx]; in c4iw_post_send()
827 swsqe->opcode = FW_RI_SEND; in c4iw_post_send()
829 swsqe->opcode = FW_RI_SEND_WITH_INV; in c4iw_post_send()
834 swsqe->opcode = FW_RI_RDMA_WRITE; in c4iw_post_send()
840 swsqe->opcode = FW_RI_READ_REQ; in c4iw_post_send()
851 swsqe->read_len = wr->sg_list[0].length; in c4iw_post_send()
853 qhp->wq.sq.oldest_read = swsqe; in c4iw_post_send()
858 swsqe->opcode = FW_RI_FAST_REGISTER; in c4iw_post_send()
879 swsqe->opcode = FW_RI_LOCAL_INV; in c4iw_post_send()
[all …]