Home
last modified time | relevance | path

Searched refs:max_qp (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/ofed/libcxgb4/
H A Ddev.c183 rhp->max_qp = T4_QID_BASE + attr.max_qp; in c4iw_alloc_context()
185 rhp->max_qp = context->status_page->qp_start + in c4iw_alloc_context()
188 rhp->qpid2ptr = calloc(rhp->max_qp, sizeof(void *)); in c4iw_alloc_context()
391 for (i=0; i < dev->max_qp; i++) { in dump_state()
H A Dlibcxgb4.h58 int max_qp; member
H A Dqp.c544 for (i=0; i < dev->max_qp; i++) { in c4iw_flush_qps()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_res.h350 u32 max_qp; member
773 u32 max_qp; member
820 max_res->max_qp = BNXT_QPLIB_DEFAULT_PF_MAX_QP; in bnxt_qplib_max_res_supported()
827 max_res->max_qp = BNXT_QPLIB_DEFAULT_VF_MAX_QP; in bnxt_qplib_max_res_supported()
837 max_res->max_qp = BNXT_QPLIB_GENP4_PF_MAX_QP; in bnxt_qplib_max_res_supported()
H A Dbnxt_re-abi.h65 __u32 max_qp; member
H A Dqplib_sp.c118 attr->max_qp = bnxt_re_cap_fw_res(le32_to_cpu(sb->max_qp), in bnxt_qplib_get_dev_attr()
119 dev_res.max_qp, sw_max_en); in bnxt_qplib_get_dev_attr()
121 attr->max_qp += 1; in bnxt_qplib_get_dev_attr()
229 req.max_qp_per_vf = cpu_to_le32(hctx->vf_res.max_qp); in bnxt_qplib_set_func_resources()
H A Dmain.c249 hctx->qp_ctx.max = min_t(u32, dev_res.max_qp, attr->max_qp); in bnxt_re_limit_pf_res()
260 hctx->qp_ctx.max = attr->max_qp ? attr->max_qp : dev_res.max_qp; in bnxt_re_limit_pf_res()
275 vf_res->max_qp = dev_res.max_qp / num_vf; in bnxt_re_limit_vf_res()
2533 if (!attr->max_cq || !attr->max_qp || in bnxt_re_check_min_attr()
2538 attr->max_cq, attr->max_qp, attr->max_dpi, in bnxt_re_check_min_attr()
H A Dqplib_sp.h45 u32 max_qp; member
H A Dstats.c664 stats->value[BNXT_RE_MAX_QP] = rdev->dev_attr->max_qp; in bnxt_re_get_hw_stats()
/freebsd/contrib/ofed/libbnxtre/
H A Dmain.c186 cntx->max_qp = resp->max_qp; in _bnxt_re_init_context()
H A Dabi.h296 __u32 max_qp; /* To allocate qp-table */ member
H A Dmain.h267 uint32_t max_qp; member
/freebsd/sys/dev/irdma/
H A Dirdma_hw.c1587 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ilq()
1618 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ieq()
1875 iwdev->rf->max_qp); in irdma_get_used_rsrc()
2112 rf->allocated_cqs = &rf->allocated_qps[BITS_TO_LONGS(rf->max_qp)]; in irdma_set_hw_rsrc()
2121 rf->cq_table = (struct irdma_cq **)(&rf->qp_table[rf->max_qp]); in irdma_set_hw_rsrc()
2138 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()
2145 rsrc_size += sizeof(struct irdma_qp **) * rf->max_qp; in irdma_calc_mem_rsrc_size()
2173 rf->max_qp = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt; in irdma_initialize_hw_rsrc()
2179 rf->max_mcg = rf->max_qp; in irdma_initialize_hw_rsrc()
H A Dirdma_kcompat.c204 uresp.max_qps = iwdev->rf->max_qp; in irdma_alloc_ucontext()
780 err_code = irdma_alloc_rsrc(rf, rf->allocated_qps, rf->max_qp, in irdma_create_qp()
783 err_code = irdma_alloc_rsrc(rf, rf->allocated_qps, rf->max_qp, in irdma_create_qp()
H A Dirdma_main.h297 u32 max_qp; member
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_roce_api.h124 u32 max_qp; member
588 u64 max_qp; member
H A Decore_rdma_api.h135 u32 max_qp; member
658 u64 max_qp; member
H A Decore_rdma.c649 dev->max_qp = OSAL_MIN_T(u64, ROCE_MAX_QPS, in ecore_rdma_init_devinfo()
655 dev->max_cq = dev->max_qp * 2; in ecore_rdma_init_devinfo()
693 dev->max_ah = dev->max_qp; in ecore_rdma_init_devinfo()
2550 out_params->max_qp = nbits; in ecore_rdma_query_counters()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_def.h275 u32 max_qp; member
H A Dqlnxr_os.c715 attr->max_qp = ecore_attr->max_qp; in qlnxr_set_device_attr()
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c466 printf("\tmax_qp:\t\t\t\t%d\n", device_attr.orig_attr.max_qp); in print_hca_cap()
/freebsd/sys/dev/mthca/
H A Dmthca_provider.c97 props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; in mthca_query_device()
107 props->max_res_rd_atom = props->max_qp_rd_atom * props->max_qp; in mthca_query_device()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c313 props->max_qp = sc->vres.qp.size / 2; in c4iw_query_device()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h189 __u32 max_qp; member
/freebsd/contrib/ofed/libibverbs/
H A Dkern-abi.h225 __u32 max_qp; member

12