Lines Matching refs:init_info
551 struct irdma_qp_init_info *init_info) in irdma_setup_virt_qp() argument
557 init_info->shadow_area_pa = qpmr->shadow; in irdma_setup_virt_qp()
559 init_info->virtual_map = true; in irdma_setup_virt_qp()
560 init_info->sq_pa = qpmr->sq_pbl.idx; in irdma_setup_virt_qp()
561 init_info->rq_pa = qpmr->rq_pbl.idx; in irdma_setup_virt_qp()
563 init_info->sq_pa = qpmr->sq_pbl.addr; in irdma_setup_virt_qp()
564 init_info->rq_pa = qpmr->rq_pbl.addr; in irdma_setup_virt_qp()
814 struct irdma_qp_init_info init_info = {}; in irdma_create_qp() local
829 init_info.vsi = &iwdev->vsi; in irdma_create_qp()
830 init_info.qp_uk_init_info.uk_attrs = uk_attrs; in irdma_create_qp()
831 init_info.qp_uk_init_info.sq_size = sq_size; in irdma_create_qp()
832 init_info.qp_uk_init_info.rq_size = rq_size; in irdma_create_qp()
833 init_info.qp_uk_init_info.max_sq_frag_cnt = init_attr->cap.max_send_sge; in irdma_create_qp()
834 init_info.qp_uk_init_info.max_rq_frag_cnt = init_attr->cap.max_recv_sge; in irdma_create_qp()
835 init_info.qp_uk_init_info.max_inline_data = init_attr->cap.max_inline_data; in irdma_create_qp()
851 init_info.q2 = iwqp->q2_ctx_mem.va; in irdma_create_qp()
852 init_info.q2_pa = iwqp->q2_ctx_mem.pa; in irdma_create_qp()
853 init_info.host_ctx = (__le64 *)(init_info.q2 + IRDMA_Q2_BUF_SIZE); in irdma_create_qp()
854 init_info.host_ctx_pa = init_info.q2_pa + IRDMA_Q2_BUF_SIZE; in irdma_create_qp()
869 iwqp->host_ctx.va = init_info.host_ctx; in irdma_create_qp()
870 iwqp->host_ctx.pa = init_info.host_ctx_pa; in irdma_create_qp()
873 init_info.pd = &iwpd->sc_pd; in irdma_create_qp()
874 init_info.qp_uk_init_info.qp_id = iwqp->ibqp.qp_num; in irdma_create_qp()
876 init_info.qp_uk_init_info.first_sq_wq = 1; in irdma_create_qp()
898 init_info.qp_uk_init_info.legacy_mode = ucontext->legacy_mode; in irdma_create_qp()
910 init_info.qp_uk_init_info.abi_ver = iwpd->sc_pd.abi_ver; in irdma_create_qp()
911 irdma_setup_virt_qp(iwdev, iwqp, &init_info); in irdma_create_qp()
914 init_info.qp_uk_init_info.abi_ver = IRDMA_ABI_VER; in irdma_create_qp()
915 err_code = irdma_setup_kmode_qp(iwdev, iwqp, &init_info, init_attr); in irdma_create_qp()
925 init_info.qp_uk_init_info.type = IRDMA_QP_TYPE_ROCE_RC; in irdma_create_qp()
926 init_info.qp_uk_init_info.qp_caps = IRDMA_SEND_WITH_IMM | in irdma_create_qp()
930 init_info.qp_uk_init_info.type = IRDMA_QP_TYPE_ROCE_UD; in irdma_create_qp()
931 init_info.qp_uk_init_info.qp_caps = IRDMA_SEND_WITH_IMM | in irdma_create_qp()
935 init_info.qp_uk_init_info.type = IRDMA_QP_TYPE_IWARP; in irdma_create_qp()
936 init_info.qp_uk_init_info.qp_caps = IRDMA_WRITE_WITH_IMM; in irdma_create_qp()
940 init_info.qp_uk_init_info.qp_caps |= IRDMA_PUSH_MODE; in irdma_create_qp()
942 err_code = irdma_sc_qp_init(qp, &init_info); in irdma_create_qp()