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 …]
592 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_nq() local603 hwq_attr.res = res; in bnxt_qplib_alloc_nq()604 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()605 hwq_attr.depth = nq->hwq.max_elements; in bnxt_qplib_alloc_nq()606 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq()607 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res); in bnxt_qplib_alloc_nq()608 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_nq()645 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_srq() local653 hwq_attr.res = res; in bnxt_qplib_create_srq()654 hwq_attr.sginfo = &srq->sg_info; in bnxt_qplib_create_srq()[all …]
612 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_reg_mr() local629 hwq_attr.res = res; in bnxt_qplib_reg_mr()630 hwq_attr.depth = pages; in bnxt_qplib_reg_mr()631 hwq_attr.stride = sizeof(dma_addr_t); in bnxt_qplib_reg_mr()632 hwq_attr.type = HWQ_TYPE_MR; in bnxt_qplib_reg_mr()633 hwq_attr.sginfo = &sginfo; in bnxt_qplib_reg_mr()634 hwq_attr.sginfo->umem = umem; in bnxt_qplib_reg_mr()635 hwq_attr.sginfo->npages = pages; in bnxt_qplib_reg_mr()636 hwq_attr.sginfo->pgsize = buf_pg_size; in bnxt_qplib_reg_mr()637 hwq_attr.sginfo->pgshft = ilog2(buf_pg_size); in bnxt_qplib_reg_mr()[all …]
932 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_rcfw_channel() local945 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()946 hwq_attr.res = rcfw->res; in bnxt_qplib_alloc_rcfw_channel()947 hwq_attr.depth = BNXT_QPLIB_CREQE_MAX_CNT; in bnxt_qplib_alloc_rcfw_channel()948 hwq_attr.stride = BNXT_QPLIB_CREQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()949 hwq_attr.type = bnxt_qplib_get_hwq_type(res); in bnxt_qplib_alloc_rcfw_channel()951 if (bnxt_qplib_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_rcfw_channel()960 hwq_attr.depth = rcfw->cmdq_depth & 0x7FFFFFFF; in bnxt_qplib_alloc_rcfw_channel()961 hwq_attr.stride = BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()962 hwq_attr.type = HWQ_TYPE_CTX; in bnxt_qplib_alloc_rcfw_channel()[all …]
410 struct bnxt_qplib_hwq_attr *hwq_attr);