Lines Matching refs:in_params
1131 struct qed_rdma_destroy_cq_in_params *in_params, in qed_rdma_destroy_cq() argument
1143 DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "icid = %08x\n", in_params->icid); in qed_rdma_destroy_cq()
1157 init_data.cid = in_params->icid; in qed_rdma_destroy_cq()
1186 (in_params->icid - in qed_rdma_destroy_cq()
1269 struct qed_rdma_create_qp_in_params *in_params, in qed_rdma_create_qp() argument
1277 if (!rdma_cxt || !in_params || !out_params || in qed_rdma_create_qp()
1280 rdma_cxt, in_params, out_params); in qed_rdma_create_qp()
1286 in_params->qp_handle_hi, in_params->qp_handle_lo); in qed_rdma_create_qp()
1290 if (in_params->stats_queue >= max_stats_queues) { in qed_rdma_create_qp()
1293 in_params->stats_queue, max_stats_queues); in qed_rdma_create_qp()
1298 if (in_params->sq_num_pages * sizeof(struct regpair) > in qed_rdma_create_qp()
1302 in_params->sq_num_pages); in qed_rdma_create_qp()
1305 if (in_params->rq_num_pages * sizeof(struct regpair) > in qed_rdma_create_qp()
1309 in_params->rq_num_pages); in qed_rdma_create_qp()
1319 qp->qp_handle.hi = cpu_to_le32(in_params->qp_handle_hi); in qed_rdma_create_qp()
1320 qp->qp_handle.lo = cpu_to_le32(in_params->qp_handle_lo); in qed_rdma_create_qp()
1321 qp->qp_handle_async.hi = cpu_to_le32(in_params->qp_handle_async_hi); in qed_rdma_create_qp()
1322 qp->qp_handle_async.lo = cpu_to_le32(in_params->qp_handle_async_lo); in qed_rdma_create_qp()
1323 qp->use_srq = in_params->use_srq; in qed_rdma_create_qp()
1324 qp->signal_all = in_params->signal_all; in qed_rdma_create_qp()
1325 qp->fmr_and_reserved_lkey = in_params->fmr_and_reserved_lkey; in qed_rdma_create_qp()
1326 qp->pd = in_params->pd; in qed_rdma_create_qp()
1327 qp->dpi = in_params->dpi; in qed_rdma_create_qp()
1328 qp->sq_cq_id = in_params->sq_cq_id; in qed_rdma_create_qp()
1329 qp->sq_num_pages = in_params->sq_num_pages; in qed_rdma_create_qp()
1330 qp->sq_pbl_ptr = in_params->sq_pbl_ptr; in qed_rdma_create_qp()
1331 qp->rq_cq_id = in_params->rq_cq_id; in qed_rdma_create_qp()
1332 qp->rq_num_pages = in_params->rq_num_pages; in qed_rdma_create_qp()
1333 qp->rq_pbl_ptr = in_params->rq_pbl_ptr; in qed_rdma_create_qp()
1334 qp->srq_id = in_params->srq_id; in qed_rdma_create_qp()
1338 qp->stats_queue = in_params->stats_queue; in qed_rdma_create_qp()
1339 qp->qp_type = in_params->qp_type; in qed_rdma_create_qp()
1340 qp->xrcd_id = in_params->xrcd_id; in qed_rdma_create_qp()
1346 qp->edpm_mode = GET_FIELD(in_params->flags, QED_ROCE_EDPM_MODE); in qed_rdma_create_qp()
1701 struct qed_rdma_modify_srq_in_params *in_params) in qed_rdma_modify_srq() argument
1720 p_ramrod->srq_id.srq_idx = cpu_to_le16(in_params->srq_id); in qed_rdma_modify_srq()
1723 p_ramrod->wqe_limit = cpu_to_le32(in_params->wqe_limit); in qed_rdma_modify_srq()
1730 in_params->srq_id, in_params->is_xrc); in qed_rdma_modify_srq()
1737 struct qed_rdma_destroy_srq_in_params *in_params) in qed_rdma_destroy_srq() argument
1760 p_ramrod->srq_id.srq_idx = cpu_to_le16(in_params->srq_id); in qed_rdma_destroy_srq()
1767 bmap = qed_rdma_get_srq_bmap(p_hwfn, in_params->is_xrc); in qed_rdma_destroy_srq()
1768 offset = (in_params->is_xrc) ? 0 : p_hwfn->p_rdma_info->srq_id_offset; in qed_rdma_destroy_srq()
1771 qed_bmap_release_id(p_hwfn, bmap, in_params->srq_id - offset); in qed_rdma_destroy_srq()
1776 in_params->srq_id, in_params->is_xrc); in qed_rdma_destroy_srq()
1783 struct qed_rdma_create_srq_in_params *in_params, in qed_rdma_create_srq() argument
1797 bmap = qed_rdma_get_srq_bmap(p_hwfn, in_params->is_xrc); in qed_rdma_create_srq()
1805 in_params->is_xrc); in qed_rdma_create_srq()
1809 elem_type = (in_params->is_xrc) ? (QED_ELEM_XRC_SRQ) : (QED_ELEM_SRQ); in qed_rdma_create_srq()
1827 DMA_REGPAIR_LE(p_ramrod->pbl_base_addr, in_params->pbl_base_addr); in qed_rdma_create_srq()
1828 p_ramrod->pages_in_srq_pbl = cpu_to_le16(in_params->num_pages); in qed_rdma_create_srq()
1829 p_ramrod->pd_id = cpu_to_le16(in_params->pd_id); in qed_rdma_create_srq()
1831 p_ramrod->page_size = cpu_to_le16(in_params->page_size); in qed_rdma_create_srq()
1832 DMA_REGPAIR_LE(p_ramrod->producers_addr, in_params->prod_pair_addr); in qed_rdma_create_srq()
1833 offset = (in_params->is_xrc) ? 0 : p_hwfn->p_rdma_info->srq_id_offset; in qed_rdma_create_srq()
1837 if (in_params->is_xrc) { in qed_rdma_create_srq()
1842 in_params->reserved_key_en); in qed_rdma_create_srq()
1845 in_params->cq_cid); in qed_rdma_create_srq()
1846 p_ramrod->xrc_domain = cpu_to_le16(in_params->xrcd_id); in qed_rdma_create_srq()
1857 out_params->srq_id, in_params->is_xrc); in qed_rdma_create_srq()