Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h66 #define HWQ_CMP(idx, hwq) ((idx) & ((hwq)->max_elements - 1)) macro
69 ((HWQ_CMP(hwq->prod, hwq)\
70 - HWQ_CMP(hwq->cons, hwq))\
Dqplib_fp.c247 sw_cons = HWQ_CMP(raw_cons, hwq); in clean_nq()
315 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_nq()
396 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_nq_irq()
682 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_modify_srq()
683 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_modify_srq()
746 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
766 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv()
771 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_post_srq_recv()
2262 peek_sw_cq_cons = HWQ_CMP((peek_sw_cq_cons), &cq->hwq); in do_wa9060()
2604 sw_cons = HWQ_CMP(raw_cons, &cq->hwq); in bnxt_qplib_is_cq_empty()
[all …]
Dqplib_rcfw.c168 sw_prod = HWQ_CMP(hwq->prod, hwq); in __send_message()
391 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_creq()
444 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_creq_irq()
Dib_verbs.c3396 HWQ_CMP(lib_qp->sq.hwq.prod, &lib_qp->sq.hwq), in send_phantom_wqe()