Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dsrq.c209 spin_lock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()
219 okwq = srq->rq.kwq; in rvt_modify_srq()
237 p = tmp_rq.kwq->curr_wq; in rvt_modify_srq()
252 srq->rq.kwq = tmp_rq.kwq; in rvt_modify_srq()
258 tmp_rq.kwq->head = n; in rvt_modify_srq()
259 tmp_rq.kwq->tail = 0; in rvt_modify_srq()
264 spin_unlock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()
298 spin_lock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()
303 spin_unlock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()
308 spin_unlock_irq(&srq->rq.kwq->c_lock); in rvt_modify_srq()
[all …]
Dqp.c833 rq->kwq = kzalloc_node(sizeof(*rq->kwq), GFP_KERNEL, node); in rvt_alloc_rq()
834 if (!rq->kwq) in rvt_alloc_rq()
836 rq->kwq->curr_wq = rq->wq->wq; in rvt_alloc_rq()
839 rq->kwq = in rvt_alloc_rq()
841 if (!rq->kwq) in rvt_alloc_rq()
843 rq->kwq->curr_wq = rq->kwq->wq; in rvt_alloc_rq()
846 spin_lock_init(&rq->kwq->p_lock); in rvt_alloc_rq()
847 spin_lock_init(&rq->kwq->c_lock); in rvt_alloc_rq()
1384 if (qp->r_rq.kwq) { in rvt_error_qp()
1388 struct rvt_krwq *kwq = NULL; in rvt_error_qp() local
[all …]
Drc.c110 credits = READ_ONCE(qp->r_rq.kwq->count); in rvt_compute_aeth()
117 head = READ_ONCE(qp->r_rq.kwq->head); in rvt_compute_aeth()
118 tail = READ_ONCE(qp->r_rq.kwq->tail); in rvt_compute_aeth()
/Linux-v5.10/include/rdma/
Drdmavt_qp.h259 struct rvt_krwq *kwq; member
547 ((char *)rq->kwq->curr_wq + in rvt_get_rwqe_ptr()
954 kvfree(rq->kwq); in rvt_free_rq()
955 rq->kwq = NULL; in rvt_free_rq()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dcnic.h240 struct kwqe **kwq; member
Dcnic.c1165 cp->kwq = (struct kwqe **) cp->kwq_info.pg_arr; in cnic_alloc_bnx2_resc()
1364 prod_qe = &cp->kwq[KWQ_PG(sw_prod)][KWQ_IDX(sw_prod)]; in cnic_submit_bnx2_kwqes()
1395 struct kwqe_16 *kwq[1]; in cnic_submit_kwqe_16() local
1412 kwq[0] = (struct kwqe_16 *) &kwqe; in cnic_submit_kwqe_16()
1415 ret = cp->ethdev->drv_submit_kwqes_16(dev->netdev, kwq, 1); in cnic_submit_kwqe_16()