Searched refs:HWQ_CMP (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-4.19/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.h | 49 #define HWQ_CMP(idx, hwq) ((idx) & ((hwq)->max_elements - 1)) macro 52 ((HWQ_CMP(hwq->prod, hwq)\ 53 - HWQ_CMP(hwq->cons, hwq))\
|
D | qplib_fp.c | 251 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() 492 HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_arm_srq() 612 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_modify_srq() 613 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_modify_srq() 676 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv() 697 sw_prod = HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_post_srq_recv() 702 sw_cons = HWQ_CMP(srq_hwq->cons, srq_hwq); in bnxt_qplib_post_srq_recv() 1455 sw_prod = HWQ_CMP(sq->hwq.prod, &sq->hwq); in bnxt_qplib_get_qp1_sq_buf() 1469 return HWQ_CMP(rq->hwq.prod, &rq->hwq); in bnxt_qplib_get_rq_prod_index() [all …]
|
D | qplib_fp.h | 340 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()
|
D | qplib_rcfw.c | 153 sw_prod = HWQ_CMP(cmdq->prod, cmdq); in __send_message() 366 sw_cons = HWQ_CMP(raw_cons, creq); in bnxt_qplib_service_creq() 418 sw_cons = HWQ_CMP(creq->cons, creq); in bnxt_qplib_creq_irq()
|
D | ib_verbs.c | 3167 HWQ_CMP(lib_qp->sq.hwq.prod, &lib_qp->sq.hwq), in send_phantom_wqe()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.h | 72 #define HWQ_CMP(idx, hwq) ((idx) & ((hwq)->max_elements - 1)) macro 75 ((HWQ_CMP(hwq->prod, hwq)\ 76 - HWQ_CMP(hwq->cons, hwq))\
|
D | qplib_fp.c | 247 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 …]
|
D | qplib_rcfw.c | 168 sw_prod = HWQ_CMP(hwq->prod, hwq); in __send_message() 387 sw_cons = HWQ_CMP(raw_cons, hwq); in bnxt_qplib_service_creq() 440 sw_cons = HWQ_CMP(hwq->cons, hwq); in bnxt_qplib_creq_irq()
|
D | ib_verbs.c | 3410 HWQ_CMP(lib_qp->sq.hwq.prod, &lib_qp->sq.hwq), in send_phantom_wqe()
|