Searched refs:hwq_attr (Results 1 – 5 of 5) sorted by relevance
184 struct bnxt_qplib_hwq_attr *hwq_attr) in bnxt_qplib_alloc_init_hwq() argument194 res = hwq_attr->res; in bnxt_qplib_alloc_init_hwq()196 pg_size = hwq_attr->sginfo->pgsize; in bnxt_qplib_alloc_init_hwq()199 depth = roundup_pow_of_two(hwq_attr->depth); in bnxt_qplib_alloc_init_hwq()200 stride = roundup_pow_of_two(hwq_attr->stride); in bnxt_qplib_alloc_init_hwq()201 if (hwq_attr->aux_depth) { in bnxt_qplib_alloc_init_hwq()202 aux_slots = hwq_attr->aux_depth; in bnxt_qplib_alloc_init_hwq()203 aux_size = roundup_pow_of_two(hwq_attr->aux_stride); in bnxt_qplib_alloc_init_hwq()209 if (!hwq_attr->sginfo->umem) { in bnxt_qplib_alloc_init_hwq()216 hwq_attr->sginfo->npages = npages; in bnxt_qplib_alloc_init_hwq()[all …]
554 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_nq() local565 hwq_attr.res = res; in bnxt_qplib_alloc_nq()566 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()567 hwq_attr.depth = nq->hwq.max_elements; in bnxt_qplib_alloc_nq()568 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq()569 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res); in bnxt_qplib_alloc_nq()570 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_nq()605 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_srq() local613 hwq_attr.res = res; in bnxt_qplib_create_srq()614 hwq_attr.sginfo = &srq->sg_info; in bnxt_qplib_create_srq()[all …]
656 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_reg_mr() local684 hwq_attr.res = res; in bnxt_qplib_reg_mr()685 hwq_attr.depth = pages; in bnxt_qplib_reg_mr()686 hwq_attr.stride = PAGE_SIZE; in bnxt_qplib_reg_mr()687 hwq_attr.type = HWQ_TYPE_MR; in bnxt_qplib_reg_mr()688 hwq_attr.sginfo = &sginfo; in bnxt_qplib_reg_mr()689 hwq_attr.sginfo->npages = pages; in bnxt_qplib_reg_mr()690 hwq_attr.sginfo->pgsize = PAGE_SIZE; in bnxt_qplib_reg_mr()691 hwq_attr.sginfo->pgshft = PAGE_SHIFT; in bnxt_qplib_reg_mr()692 rc = bnxt_qplib_alloc_init_hwq(&mr->hwq, &hwq_attr); in bnxt_qplib_reg_mr()[all …]
567 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_rcfw_channel() local581 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()582 hwq_attr.res = rcfw->res; in bnxt_qplib_alloc_rcfw_channel()583 hwq_attr.depth = BNXT_QPLIB_CREQE_MAX_CNT; in bnxt_qplib_alloc_rcfw_channel()584 hwq_attr.stride = BNXT_QPLIB_CREQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()585 hwq_attr.type = bnxt_qplib_get_hwq_type(res); in bnxt_qplib_alloc_rcfw_channel()587 if (bnxt_qplib_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_rcfw_channel()598 hwq_attr.depth = rcfw->cmdq_depth; in bnxt_qplib_alloc_rcfw_channel()599 hwq_attr.stride = BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()600 hwq_attr.type = HWQ_TYPE_CTX; in bnxt_qplib_alloc_rcfw_channel()[all …]
353 struct bnxt_qplib_hwq_attr *hwq_attr);