Home
last modified time | relevance | path

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

/Linux-v4.19/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.c251 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
329 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
491 HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_arm_srq()
611 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_modify_srq()
612 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_modify_srq()
675 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
696 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
701 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_post_srq_recv()
1454 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_get_qp1_sq_buf()
1468 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.c153 sw_prod = HWQ_CMP(cmdq->prod, cmdq); in __send_message()
357 sw_cons = HWQ_CMP(raw_cons, creq); in bnxt_qplib_service_creq()
409 sw_cons = HWQ_CMP(creq->cons, creq); in bnxt_qplib_creq_irq()
Dib_verbs.c3151 HWQ_CMP(lib_qp->sq.hwq.prod, &lib_qp->sq.hwq), in send_phantom_wqe()