Home
last modified time | relevance | path

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

/drivers/infiniband/hw/i40iw/
Di40iw_uk.c940 enum i40iw_status_code i40iw_get_rqdepth(u32 rq_size, u8 shift, u32 *rqdepth) in i40iw_get_rqdepth() argument
942 *rqdepth = roundup_pow_of_two((rq_size << shift) + I40IW_RQ_RSVD); in i40iw_get_rqdepth()
944 if (*rqdepth < (I40IW_QP_SW_MIN_WQSIZE << shift)) in i40iw_get_rqdepth()
945 *rqdepth = I40IW_QP_SW_MIN_WQSIZE << shift; in i40iw_get_rqdepth()
946 else if (*rqdepth > I40IW_QP_SW_MAX_RQ_QUANTAS) in i40iw_get_rqdepth()
Di40iw_verbs.c449 u32 sqdepth, rqdepth; in i40iw_setup_kmode_qp() local
460 status = i40iw_get_rqdepth(ukinfo->rq_size, I40IW_MAX_RQ_WQE_SHIFT, &rqdepth); in i40iw_setup_kmode_qp()
464 size = sqdepth * sizeof(struct i40iw_sq_uk_wr_trk_info) + (rqdepth << 3); in i40iw_setup_kmode_qp()
473 size = (sqdepth + rqdepth) * I40IW_QP_WQE_MIN_SIZE; in i40iw_setup_kmode_qp()
489 ukinfo->shadow_area = ukinfo->rq[rqdepth].elem; in i40iw_setup_kmode_qp()
490 info->shadow_area_pa = info->rq_pa + (rqdepth * I40IW_QP_WQE_MIN_SIZE); in i40iw_setup_kmode_qp()
493 ukinfo->rq_size = rqdepth >> I40IW_MAX_RQ_WQE_SHIFT; in i40iw_setup_kmode_qp()
Di40iw_user.h429 enum i40iw_status_code i40iw_get_rqdepth(u32 rq_size, u8 shift, u32 *rqdepth);