/freebsd/contrib/ofed/libcxgb4/ |
H A D | dev.c | 181 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 D | libcxgb4.h | 58 int max_qp; member
|
H A D | qp.c | 544 for (i=0; i < dev->max_qp; i++) { in c4iw_flush_qps()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_res.h | 350 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 D | bnxt_re-abi.h | 63 __u32 max_qp; member
|
H A D | qplib_sp.c | 115 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 D | main.c | 249 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 D | qplib_sp.h | 44 u32 max_qp; member
|
H A D | stats.c | 664 stats->value[BNXT_RE_MAX_QP] = rdev->dev_attr->max_qp; in bnxt_re_get_hw_stats()
|
H A D | ib_verbs.c | 163 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 D | qplib_res.c | 685 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 D | irdma_hw.c | 1574 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 D | irdma_main.h | 294 u32 max_qp; member
|
H A D | irdma_kcompat.c | 204 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 D | irdma_verbs.c | 69 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 D | ecore_roce_api.h | 124 u32 max_qp; member 588 u64 max_qp; member
|
H A D | ecore_rdma_api.h | 135 u32 max_qp; member 658 u64 max_qp; member
|
H A D | ecore_rdma.c | 649 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 D | qlnxr_def.h | 275 u32 max_qp; member
|
H A D | qlnxr_os.c | 715 attr->max_qp = ecore_attr->max_qp; in qlnxr_set_device_attr()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 465 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 D | mthca_provider.c | 97 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 D | provider.c | 313 props->max_qp = sc->vres.qp.size / 2; in c4iw_query_device()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 189 __u32 max_qp; member
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 225 __u32 max_qp; member
|