Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h49 #define HWQ_CMP(idx, hwq) ((idx) & ((hwq)->max_elements - 1)) macro
52 ((HWQ_CMP(hwq->prod, hwq)\
53 - HWQ_CMP(hwq->cons, hwq))\
Dqplib_fp.c253 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
331 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
501 srq->threshold : HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_arm_srq()
617 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_modify_srq()
618 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_modify_srq()
681 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
702 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
707 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_post_srq_recv()
1465 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_get_qp1_sq_buf()
1479 return HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_get_rq_prod_index()
[all …]
Dqplib_fp.h340 return HWQ_CMP((qplib_q->hwq.prod + qplib_q->q_full_delta), in bnxt_qplib_queue_full()
341 &qplib_q->hwq) == HWQ_CMP(qplib_q->hwq.cons, in bnxt_qplib_queue_full()
Dqplib_rcfw.c162 sw_prod = HWQ_CMP(cmdq->prod, cmdq); in __send_message()
379 sw_cons = HWQ_CMP(raw_cons, creq); in bnxt_qplib_service_creq()
432 sw_cons = HWQ_CMP(creq->cons, creq); in bnxt_qplib_creq_irq()
Dib_verbs.c3106 HWQ_CMP(lib_qp->sq.hwq.prod, &lib_qp->sq.hwq), in send_phantom_wqe()