Home
last modified time | relevance | path

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

/drivers/infiniband/hw/i40iw/
Di40iw_uk.c921 enum i40iw_status_code i40iw_get_sqdepth(u32 sq_size, u8 shift, u32 *sqdepth) in i40iw_get_sqdepth() argument
923 *sqdepth = roundup_pow_of_two((sq_size << shift) + I40IW_SQ_RSVD); in i40iw_get_sqdepth()
925 if (*sqdepth < (I40IW_QP_SW_MIN_WQSIZE << shift)) in i40iw_get_sqdepth()
926 *sqdepth = I40IW_QP_SW_MIN_WQSIZE << shift; in i40iw_get_sqdepth()
927 else if (*sqdepth > I40IW_QP_SW_MAX_SQ_QUANTAS) in i40iw_get_sqdepth()
Di40iw_verbs.c449 u32 sqdepth, rqdepth; in i40iw_setup_kmode_qp() local
456 status = i40iw_get_sqdepth(ukinfo->sq_size, sqshift, &sqdepth); in i40iw_setup_kmode_qp()
464 size = sqdepth * sizeof(struct i40iw_sq_uk_wr_trk_info) + (rqdepth << 3); in i40iw_setup_kmode_qp()
471 ukinfo->rq_wrid_array = (u64 *)&ukinfo->sq_wrtrk_array[sqdepth]; in i40iw_setup_kmode_qp()
473 size = (sqdepth + rqdepth) * I40IW_QP_WQE_MIN_SIZE; in i40iw_setup_kmode_qp()
486 ukinfo->rq = &ukinfo->sq[sqdepth]; in i40iw_setup_kmode_qp()
487 info->rq_pa = info->sq_pa + (sqdepth * I40IW_QP_WQE_MIN_SIZE); in i40iw_setup_kmode_qp()
492 ukinfo->sq_size = sqdepth >> sqshift; in i40iw_setup_kmode_qp()
Di40iw_user.h428 enum i40iw_status_code i40iw_get_sqdepth(u32 sq_size, u8 shift, u32 *sqdepth);