Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c494 struct bnxt_qplib_hwq *srq_hwq = &srq->hwq; in bnxt_qplib_arm_srq() local
501 srq->threshold : HWQ_CMP(srq_hwq->prod, srq_hwq); in bnxt_qplib_arm_srq()
614 struct bnxt_qplib_hwq *srq_hwq = &srq->hwq; in bnxt_qplib_modify_srq() local
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()
621 srq_hwq->max_elements - sw_cons + sw_prod; in bnxt_qplib_modify_srq()
663 struct bnxt_qplib_hwq *srq_hwq = &srq->hwq; in bnxt_qplib_post_srq_recv() local
669 spin_lock(&srq_hwq->lock); in bnxt_qplib_post_srq_recv()
671 dev_err(&srq_hwq->pdev->dev, in bnxt_qplib_post_srq_recv()
674 spin_unlock(&srq_hwq->lock); in bnxt_qplib_post_srq_recv()
[all …]