Searched refs:hwq_attr (Results 1 – 4 of 4) sorted by relevance
178 struct bnxt_qplib_hwq_attr *hwq_attr) in bnxt_qplib_alloc_init_hwq() argument188 res = hwq_attr->res; in bnxt_qplib_alloc_init_hwq()190 pg_size = hwq_attr->sginfo->pgsize; in bnxt_qplib_alloc_init_hwq()193 depth = roundup_pow_of_two(hwq_attr->depth); in bnxt_qplib_alloc_init_hwq()194 stride = roundup_pow_of_two(hwq_attr->stride); in bnxt_qplib_alloc_init_hwq()195 if (hwq_attr->aux_depth) { in bnxt_qplib_alloc_init_hwq()196 aux_slots = hwq_attr->aux_depth; in bnxt_qplib_alloc_init_hwq()197 aux_size = roundup_pow_of_two(hwq_attr->aux_stride); in bnxt_qplib_alloc_init_hwq()203 if (!hwq_attr->sginfo->umem) { in bnxt_qplib_alloc_init_hwq()210 hwq_attr->sginfo->npages = npages; in bnxt_qplib_alloc_init_hwq()[all …]
593 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_nq() local604 hwq_attr.res = res; in bnxt_qplib_alloc_nq()605 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()606 hwq_attr.depth = nq->hwq.max_elements; in bnxt_qplib_alloc_nq()607 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq()608 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res); in bnxt_qplib_alloc_nq()609 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_nq()646 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_srq() local654 hwq_attr.res = res; in bnxt_qplib_create_srq()655 hwq_attr.sginfo = &srq->sg_info; in bnxt_qplib_create_srq()[all …]
934 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_rcfw_channel() local947 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()948 hwq_attr.res = rcfw->res; in bnxt_qplib_alloc_rcfw_channel()949 hwq_attr.depth = BNXT_QPLIB_CREQE_MAX_CNT; in bnxt_qplib_alloc_rcfw_channel()950 hwq_attr.stride = BNXT_QPLIB_CREQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()951 hwq_attr.type = bnxt_qplib_get_hwq_type(res); in bnxt_qplib_alloc_rcfw_channel()953 if (bnxt_qplib_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_rcfw_channel()962 hwq_attr.depth = rcfw->cmdq_depth & 0x7FFFFFFF; in bnxt_qplib_alloc_rcfw_channel()963 hwq_attr.stride = BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()964 hwq_attr.type = HWQ_TYPE_CTX; in bnxt_qplib_alloc_rcfw_channel()[all …]
64 struct bng_re_hwq_attr hwq_attr = {}; in bng_re_alloc_fw_channel() local77 hwq_attr.sginfo = &sginfo; in bng_re_alloc_fw_channel()78 hwq_attr.res = rcfw->res; in bng_re_alloc_fw_channel()79 hwq_attr.depth = BNG_FW_CREQE_MAX_CNT; in bng_re_alloc_fw_channel()80 hwq_attr.stride = BNG_FW_CREQE_UNITS; in bng_re_alloc_fw_channel()81 hwq_attr.type = BNG_HWQ_TYPE_QUEUE; in bng_re_alloc_fw_channel()83 if (bng_re_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bng_re_alloc_fw_channel()92 hwq_attr.depth = rcfw->cmdq_depth & 0x7FFFFFFF; in bng_re_alloc_fw_channel()93 hwq_attr.stride = BNG_FW_CMDQE_UNITS; in bng_re_alloc_fw_channel()94 hwq_attr.type = BNG_HWQ_TYPE_CTX; in bng_re_alloc_fw_channel()[all …]