Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c65 static void pvrdma_lock_cqs(struct pvrdma_cq *scq, struct pvrdma_cq *rcq, in pvrdma_lock_cqs() argument
68 __acquires(scq->cq_lock) __acquires(rcq->cq_lock) in pvrdma_lock_cqs()
70 if (scq == rcq) { in pvrdma_lock_cqs()
72 __acquire(rcq->cq_lock); in pvrdma_lock_cqs()
73 } else if (scq->cq_handle < rcq->cq_handle) { in pvrdma_lock_cqs()
75 spin_lock_irqsave_nested(&rcq->cq_lock, *rcq_flags, in pvrdma_lock_cqs()
78 spin_lock_irqsave(&rcq->cq_lock, *rcq_flags); in pvrdma_lock_cqs()
84 static void pvrdma_unlock_cqs(struct pvrdma_cq *scq, struct pvrdma_cq *rcq, in pvrdma_unlock_cqs() argument
87 __releases(scq->cq_lock) __releases(rcq->cq_lock) in pvrdma_unlock_cqs()
89 if (scq == rcq) { in pvrdma_unlock_cqs()
[all …]
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_qp.c356 struct rxe_cq *rcq = to_rcq(init->recv_cq); in rxe_qp_from_init() local
362 rxe_get(rcq); in rxe_qp_from_init()
368 qp->rcq = rcq; in rxe_qp_from_init()
372 atomic_inc(&rcq->num_wq); in rxe_qp_from_init()
396 atomic_dec(&rcq->num_wq); in rxe_qp_from_init()
400 qp->rcq = NULL; in rxe_qp_from_init()
407 rxe_put(rcq); in rxe_qp_from_init()
852 if (qp->rcq) { in rxe_qp_do_cleanup()
853 atomic_dec(&qp->rcq->num_wq); in rxe_qp_do_cleanup()
854 rxe_put(qp->rcq); in rxe_qp_do_cleanup()
Drxe_resp.c1066 if (qp->rcq->is_user) { in do_complete()
1088 if (qp->rcq->is_user) { in do_complete()
1146 if (rxe_cq_post(qp->rcq, &cqe, pkt ? bth_se(pkt) : 1)) in do_complete()
1433 if (qp->rcq->is_user) { in flush_recv_wqe()
1443 err = rxe_cq_post(qp->rcq, &cqe, 0); in flush_recv_wqe()
1445 rxe_dbg_cq(qp->rcq, "post cq failed err = %d", err); in flush_recv_wqe()
Drxe_verbs.h213 struct rxe_cq *rcq; member
/linux-6.6.21/arch/s390/include/asm/
Dfcx.h106 u8 rcq[16]; member
207 u32 rcq:8; member
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c70 struct bnxt_qplib_cq *scq, *rcq; in __bnxt_qplib_add_flush_qp() local
73 rcq = qp->rcq; in __bnxt_qplib_add_flush_qp()
84 dev_dbg(&rcq->hwq.pdev->dev, in __bnxt_qplib_add_flush_qp()
86 list_add_tail(&qp->rq_flush, &rcq->rqf_head); in __bnxt_qplib_add_flush_qp()
94 __acquires(&qp->scq->flush_lock) __acquires(&qp->rcq->flush_lock) in bnxt_qplib_acquire_cq_flush_locks()
97 if (qp->scq == qp->rcq) in bnxt_qplib_acquire_cq_flush_locks()
98 __acquire(&qp->rcq->flush_lock); in bnxt_qplib_acquire_cq_flush_locks()
100 spin_lock(&qp->rcq->flush_lock); in bnxt_qplib_acquire_cq_flush_locks()
105 __releases(&qp->scq->flush_lock) __releases(&qp->rcq->flush_lock) in bnxt_qplib_release_cq_flush_locks()
107 if (qp->scq == qp->rcq) in bnxt_qplib_release_cq_flush_locks()
[all …]
Dib_verbs.c808 __acquires(&qp->scq->cq_lock) __acquires(&qp->rcq->cq_lock) in bnxt_re_lock_cqs()
813 if (qp->rcq != qp->scq) in bnxt_re_lock_cqs()
814 spin_lock(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
816 __acquire(&qp->rcq->cq_lock); in bnxt_re_lock_cqs()
823 __releases(&qp->scq->cq_lock) __releases(&qp->rcq->cq_lock) in bnxt_re_unlock_cqs()
825 if (qp->rcq != qp->scq) in bnxt_re_unlock_cqs()
826 spin_unlock(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
828 __release(&qp->rcq->cq_lock); in bnxt_re_unlock_cqs()
925 rcq_nq = qplib_qp->rcq->nq; in bnxt_re_destroy_qp()
1154 qp->qplib_qp.rcq = qp1_qp->rcq; in bnxt_re_create_shadow_qp()
[all …]
Dib_verbs.h95 struct bnxt_re_cq *rcq; member
Dqplib_fp.h312 struct bnxt_qplib_cq *rcq; member
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dev.c141 cqid = qhp->attr.rcq; in c4iw_ev_dispatch()
Dqp.c200 struct t4_cq *rcq, struct t4_cq *scq, in create_qp() argument
368 FW_RI_RES_WR_IQID_V(rcq->cqid)); in create_qp()
1813 wqe->u.init.rcqid = cpu_to_be32(qhp->attr.rcq); in rdma_init()
2189 qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid; in c4iw_create_qp()
Diw_cxgb4.h451 u32 rcq; member
/linux-6.6.21/drivers/infiniband/core/
Duverbs_cmd.c1286 struct ib_cq *scq = NULL, *rcq = NULL; in create_qp() local
1371 rcq = uobj_get_obj_read( in create_qp()
1374 if (!rcq) { in create_qp()
1386 rcq = rcq ?: scq; in create_qp()
1399 attr.recv_cq = rcq; in create_qp()
1462 if (rcq && rcq != scq) in create_qp()
1463 rdma_lookup_put_uobject(&rcq->uobject->uevent.uobject, in create_qp()
1490 if (rcq && rcq != scq) in create_qp()
1491 rdma_lookup_put_uobject(&rcq->uobject->uevent.uobject, in create_qp()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_verbs.h234 struct erdma_cq *rcq; member
Derdma_verbs.c68 FIELD_PREP(ERDMA_CMD_CREATE_QP_CQN_MASK, qp->rcq->cqn); in create_qp_cmd()
95 FIELD_PREP(ERDMA_CMD_CREATE_QP_CQN_MASK, qp->rcq->cqn); in create_qp_cmd()
939 qp->rcq = to_ecq(attrs->recv_cq); in erdma_create_qp()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c111 struct res_cq *rcq; member
2965 struct res_cq *rcq; in mlx4_RST2INIT_QP_wrapper() local
2999 err = get_res(dev, slave, rcqn, RES_CQ, &rcq); in mlx4_RST2INIT_QP_wrapper()
3008 scq = rcq; in mlx4_RST2INIT_QP_wrapper()
3023 atomic_inc(&rcq->ref_count); in mlx4_RST2INIT_QP_wrapper()
3024 qp->rcq = rcq; in mlx4_RST2INIT_QP_wrapper()
4003 atomic_dec(&qp->rcq->ref_count); in mlx4_2RST_QP_wrapper()
4716 atomic_dec(&qp->rcq->ref_count); in rem_slave_qps()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw.h432 struct siw_cq *rcq; member
Dsiw_verbs.c400 qp->rcq = to_siw_cq(attrs->recv_cq); in siw_create_qp()
626 qp->scq = qp->rcq = NULL; in siw_destroy_qp()
Dsiw_qp.c1124 struct siw_cq *cq = qp->rcq; in siw_rqe_complete()
/linux-6.6.21/drivers/s390/block/
Ddasd_eckd.c5695 u8 *sense, *rcq; in dasd_eckd_dump_sense_tcw() local
5765 rcq = tsb->tsa.ddpc.rcq; in dasd_eckd_dump_sense_tcw()
5768 rcq[8 * sl + sct]); in dasd_eckd_dump_sense_tcw()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c10499 #define BNX2X_PREV_UNDI_PROD(rcq, bd) ((bd) << 16 | (rcq)) argument
10524 u16 rcq, bd; in bnx2x_prev_unload_undi_inc() local
10533 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10536 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc()
10540 BP_PORT(bp), BP_FUNC(bp), addr, bd, rcq); in bnx2x_prev_unload_undi_inc()