Searched refs:rqdepth (Results 1 – 2 of 2) sorted by relevance
1324 u32 *rqdepth) in irdma_get_rqdepth() argument1326 *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()
600 u32 sqdepth, rqdepth; in irdma_setup_kmode_qp() local623 &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()