Home
last modified time | relevance | path

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

12

/freebsd/contrib/ofed/libcxgb4/
H A Ddev.c181 rhp->max_qp = T4_QID_BASE + attr.max_qp; in c4iw_alloc_context()
183 rhp->max_qp = context->status_page->qp_start + in c4iw_alloc_context()
186 rhp->qpid2ptr = calloc(rhp->max_qp, sizeof(void *)); in c4iw_alloc_context()
389 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
767 u32 max_qp; member
814 max_res->max_qp = BNXT_QPLIB_DEFAULT_PF_MAX_QP; in bnxt_qplib_max_res_supported()
821 max_res->max_qp = BNXT_QPLIB_DEFAULT_VF_MAX_QP; in bnxt_qplib_max_res_supported()
831 max_res->max_qp = BNXT_QPLIB_GENP4_PF_MAX_QP; in bnxt_qplib_max_res_supported()
H A Dbnxt_re-abi.h63 __u32 max_qp; member
H A Dqplib_sp.c115 attr->max_qp = le32_to_cpu(sb->max_qp); in bnxt_qplib_get_dev_attr()
116 attr->max_qp = min_t(u32, attr->max_qp, BNXT_RE_MAX_QP_SUPPORTED(chip_gen)); in bnxt_qplib_get_dev_attr()
118 attr->max_qp += 1; in bnxt_qplib_get_dev_attr()
227 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()
2513 if (!attr->max_cq || !attr->max_qp || in bnxt_re_check_min_attr()
2518 attr->max_cq, attr->max_qp, attr->max_dpi, in bnxt_re_check_min_attr()
H A Dqplib_sp.h44 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()
H A Dib_verbs.c163 ib_attr->max_qp = dev_attr->max_qp; in bnxt_re_query_device()
2325 if (atomic_read(&rdev->stats.rsors.qp_count) >= dev_attr->max_qp) { in bnxt_re_create_qp()
2327 atomic_read(&rdev->stats.rsors.qp_count), dev_attr->max_qp); in bnxt_re_create_qp()
5293 resp.max_qp = rdev->qplib_res.hctx->qp_ctx.max; in bnxt_re_alloc_ucontext()
H A Dqplib_res.c685 res_cnt = max_t(u32, BNXT_QPLIB_MAX_QPC_COUNT + 1, dattr->max_qp); in bnxt_qplib_alloc_reftbls()
/freebsd/sys/dev/irdma/
H A Dirdma_hw.c1574 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ilq()
1605 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ieq()
1852 iwdev->rf->max_qp); in irdma_get_used_rsrc()
2089 rf->allocated_cqs = &rf->allocated_qps[BITS_TO_LONGS(rf->max_qp)]; in irdma_set_hw_rsrc()
2098 rf->cq_table = (struct irdma_cq **)(&rf->qp_table[rf->max_qp]); in irdma_set_hw_rsrc()
2115 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()
2122 rsrc_size += sizeof(struct irdma_qp **) * rf->max_qp; in irdma_calc_mem_rsrc_size()
2150 rf->max_qp = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt; in irdma_initialize_hw_rsrc()
2156 rf->max_mcg = rf->max_qp; in irdma_initialize_hw_rsrc()
H A Dirdma_main.h294 u32 max_qp; member
H A Dirdma_kcompat.c204 uresp.max_qps = iwdev->rf->max_qp; in irdma_alloc_ucontext()
747 err_code = irdma_alloc_rsrc(rf, rf->allocated_qps, rf->max_qp, in irdma_create_qp()
H A Dirdma_verbs.c69 props->max_qp = rf->max_qp - rf->used_qps; in irdma_query_device()
86 props->max_total_mcast_qp_attach = rf->max_qp * IRDMA_MAX_MGS_PER_CTX; in irdma_query_device()
/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.c465 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