Home
last modified time | relevance | path

Searched refs:wqe_idx (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/infiniband/hw/irdma/
A Duk.c63 u32 wqe_idx; in irdma_nop_1() local
98 u32 wqe_idx; in irdma_clr_wqes() local
103 if (wqe_idx) in irdma_clr_wqes()
222 if (!*wqe_idx) in irdma_qp_get_next_send_wqe()
257 if (!*wqe_idx) in irdma_qp_get_next_recv_wqe()
383 u32 wqe_idx; in irdma_uk_rdma_read() local
688 u32 wqe_idx; in irdma_uk_inline_rdma_write() local
755 u32 wqe_idx; in irdma_uk_inline_send() local
827 u32 wqe_idx; in irdma_uk_stag_local_invalidate() local
1186 wqe_idx + qp->sq_wrtrk_array[wqe_idx].quanta); in irdma_uk_cq_poll_cmpl()
[all …]
A Dpuda.c91 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_puda_post_recvbuf()
194 u32 *wqe_idx) in irdma_puda_get_next_send_wqe() argument
200 if (!*wqe_idx) in irdma_puda_get_next_send_wqe()
206 wqe = qp->sq_base[*wqe_idx].elem; in irdma_puda_get_next_send_wqe()
363 qp->rq_wrid_array[info.wqe_idx]; in irdma_puda_poll_cmpl()
374 info.wqe_idx); in irdma_puda_poll_cmpl()
383 rsrc->compl_rxwqe_idx = info.wqe_idx; in irdma_puda_poll_cmpl()
431 u32 wqe_idx; in irdma_puda_send() local
1133 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_ilq_putback_rcvbuf()
1689 u32 wqe_idx = ieq->compl_rxwqe_idx; in irdma_ieq_receive() local
[all …]
A Duser.h411 __le64 *irdma_qp_get_next_send_wqe(struct irdma_qp_uk *qp, u32 *wqe_idx,
414 __le64 *irdma_qp_get_next_recv_wqe(struct irdma_qp_uk *qp, u32 *wqe_idx);
427 u32 wqe_idx, bool post_sq);
A Dctrl.c1275 u32 wqe_idx; in irdma_sc_mr_fast_register() local
1299 info->wr_id, wqe_idx, in irdma_sc_mr_fast_register()
1335 wqe_idx, post_sq); in irdma_sc_mr_fast_register()
3252 u32 *wqe_idx) in irdma_sc_cqp_get_next_send_wqe_idx() argument
3269 if (!*wqe_idx) in irdma_sc_cqp_get_next_send_wqe_idx()
3271 wqe = cqp->sq_base[*wqe_idx].elem; in irdma_sc_cqp_get_next_send_wqe_idx()
3342 u32 wqe_idx; in irdma_sc_ccq_get_cqe_info() local
4003 u16 wqe_idx; in irdma_sc_get_next_aeqe() local
4102 info->wqe_idx = wqe_idx; in irdma_sc_get_next_aeqe()
4116 info->wqe_idx = wqe_idx; in irdma_sc_get_next_aeqe()
[all …]
A Dtype.h987 u16 wqe_idx; member
1526 u32 *wqe_idx);
1535 u32 wqe_idx; in irdma_sc_cqp_get_next_send_wqe() local
1537 return irdma_sc_cqp_get_next_send_wqe_idx(cqp, scratch, &wqe_idx); in irdma_sc_cqp_get_next_send_wqe()
A Dpuda.h38 u32 wqe_idx; member
A Dutils.c528 u32 i, pending_work, wqe_idx; in irdma_cleanup_pending_cqp_op() local
531 wqe_idx = IRDMA_RING_CURRENT_TAIL(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op()
534 cqp->scratch_array[wqe_idx]; in irdma_cleanup_pending_cqp_op()
537 wqe_idx = (wqe_idx + 1) % IRDMA_RING_SIZE(cqp->sc_cqp.sq_ring); in irdma_cleanup_pending_cqp_op()
A Dhw.c383 ctx_info->roce_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()
392 ctx_info->iwarp_info->err_rq_idx = info->wqe_idx; in irdma_process_aeq()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_verbs.c1593 u32 qpn = 0, wqe_idx = 0; in ocrdma_discard_cqes() local
1629 BUG_ON(wqe_idx < 1); in ocrdma_discard_cqes()
2404 u32 wqe_idx) in ocrdma_update_wc() argument
2565 u32 wqe_idx; in ocrdma_poll_success_scqe() local
2576 wqe_idx = (le32_to_cpu(cqe->wq.wqeidx) & in ocrdma_poll_success_scqe()
2578 if (tail != wqe_idx) in ocrdma_poll_success_scqe()
2634 u32 wqe_idx; in ocrdma_update_free_srq_cqe() local
2637 wqe_idx = (le32_to_cpu(cqe->rq.buftag_qpn) >> in ocrdma_update_free_srq_cqe()
2639 BUG_ON(wqe_idx < 1); in ocrdma_update_free_srq_cqe()
2641 ibwc->wr_id = srq->rqe_wr_id_tbl[wqe_idx]; in ocrdma_update_free_srq_cqe()
[all …]
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_hw_v2.c705 unsigned int wqe_idx; in hns_roce_v2_post_send() local
739 qp->sq.wrid[wqe_idx] = wr->wr_id; in hns_roce_v2_post_send()
822 u32 wqe_idx, u32 max_sge) in fill_rq_wqe() argument
849 u32 wqe_idx, nreq, max_sge; in hns_roce_v2_post_recv() local
955 *wqe_idx = pos; in get_srq_wqe_idx()
968 *buf = cpu_to_le32(wqe_idx); in fill_wqe_idx()
990 u32 wqe_idx; in hns_roce_v2_post_srq_recv() local
1012 fill_wqe_idx(srq, wqe_idx); in hns_roce_v2_post_srq_recv()
1013 srq->wrid[wqe_idx] = wr->wr_id; in hns_roce_v2_post_srq_recv()
3724 u16 wqe_idx; in hns_roce_v2_poll_one() local
[all …]
A Dhns_roce_hw_v1.c96 u32 wqe_idx; in hns_roce_v1_post_send() local
115 wqe_idx = (qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1); in hns_roce_v1_post_send()
125 wqe = hns_roce_get_send_wqe(qp, wqe_idx); in hns_roce_v1_post_send()
126 qp->sq.wrid[wqe_idx] = wr->wr_id; in hns_roce_v1_post_send()
368 unsigned int wqe_idx; in hns_roce_v1_post_recv() local
384 wqe_idx = (hr_qp->rq.head + nreq) & (hr_qp->rq.wqe_cnt - 1); in hns_roce_v1_post_recv()
394 ctrl = hns_roce_get_recv_wqe(hr_qp, wqe_idx); in hns_roce_v1_post_recv()
406 hr_qp->rq.wrid[wqe_idx] = wr->wr_id; in hns_roce_v1_post_recv()
/linux/drivers/infiniband/hw/bnxt_re/
A Dqplib_fp.c1715 u32 wqe_idx; in bnxt_qplib_post_send() local
1738 swq = bnxt_qplib_get_swqe(sq, &wqe_idx); in bnxt_qplib_post_send()
1927 bnxt_qplib_swq_mod_start(sq, wqe_idx); in bnxt_qplib_post_send()
1965 u32 wqe_idx; in bnxt_qplib_post_recv() local
1984 swq = bnxt_qplib_get_swqe(rq, &wqe_idx); in bnxt_qplib_post_recv()
2013 base_hdr->wr_id[0] = cpu_to_le32(wqe_idx); in bnxt_qplib_post_recv()
2015 bnxt_qplib_swq_mod_start(rq, wqe_idx); in bnxt_qplib_post_recv()

Completed in 74 milliseconds