Home
last modified time | relevance | path

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

/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c453 struct i40iw_qp_uk_init_info *ukinfo = &info->qp_uk_init_info; in i40iw_setup_kmode_qp() local
455 i40iw_get_wqe_shift(ukinfo->max_sq_frag_cnt, ukinfo->max_inline_data, &sqshift); in i40iw_setup_kmode_qp()
456 status = i40iw_get_sqdepth(ukinfo->sq_size, sqshift, &sqdepth); in i40iw_setup_kmode_qp()
460 status = i40iw_get_rqdepth(ukinfo->rq_size, I40IW_MAX_RQ_WQE_SHIFT, &rqdepth); in i40iw_setup_kmode_qp()
467 ukinfo->sq_wrtrk_array = (struct i40iw_sq_uk_wr_trk_info *)iwqp->kqp.wrid_mem; in i40iw_setup_kmode_qp()
468 if (!ukinfo->sq_wrtrk_array) in i40iw_setup_kmode_qp()
471 ukinfo->rq_wrid_array = (u64 *)&ukinfo->sq_wrtrk_array[sqdepth]; in i40iw_setup_kmode_qp()
478 kfree(ukinfo->sq_wrtrk_array); in i40iw_setup_kmode_qp()
479 ukinfo->sq_wrtrk_array = NULL; in i40iw_setup_kmode_qp()
483 ukinfo->sq = mem->va; in i40iw_setup_kmode_qp()
[all …]