Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/infiniband/hw/irdma/
Duk.c1324 u32 *rqdepth) in irdma_get_rqdepth() argument
1326 *rqdepth = irdma_qp_round_up((rq_size << shift) + IRDMA_RQ_RSVD); in irdma_get_rqdepth()
1328 if (*rqdepth < (IRDMA_QP_SW_MIN_WQSIZE << shift)) in irdma_get_rqdepth()
1329 *rqdepth = IRDMA_QP_SW_MIN_WQSIZE << shift; in irdma_get_rqdepth()
1330 else if (*rqdepth > uk_attrs->max_hw_rq_quanta) in irdma_get_rqdepth()
Dverbs.c600 u32 sqdepth, rqdepth; in irdma_setup_kmode_qp() local
623 &rqdepth); in irdma_setup_kmode_qp()
633 kcalloc(rqdepth, sizeof(*iwqp->kqp.rq_wrid_mem), GFP_KERNEL); in irdma_setup_kmode_qp()
643 size = (sqdepth + rqdepth) * IRDMA_QP_WQE_MIN_SIZE; in irdma_setup_kmode_qp()
661 ukinfo->shadow_area = ukinfo->rq[rqdepth].elem; in irdma_setup_kmode_qp()
662 info->shadow_area_pa = info->rq_pa + (rqdepth * IRDMA_QP_WQE_MIN_SIZE); in irdma_setup_kmode_qp()
664 ukinfo->rq_size = rqdepth >> rqshift; in irdma_setup_kmode_qp()
668 init_attr->cap.max_recv_wr = (rqdepth - IRDMA_RQ_RSVD) >> rqshift; in irdma_setup_kmode_qp()