Home
last modified time | relevance | path

Searched refs:hwq_attr (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c184 struct bnxt_qplib_hwq_attr *hwq_attr) in bnxt_qplib_alloc_init_hwq()
194 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 in bnxt_qplib_alloc_init_hwq()
183 bnxt_qplib_alloc_init_hwq(struct bnxt_qplib_hwq *hwq, struct bnxt_qplib_hwq_attr *hwq_attr) bnxt_qplib_alloc_init_hwq() argument
384 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_alloc_tqm_rings() local
501 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_alloc_ctx() local
[all...]
H A Dqplib_sp.c656 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_reg_mr() local
682 hwq_attr.res = res; in bnxt_qplib_reg_mr()
683 hwq_attr.depth = pages; in bnxt_qplib_reg_mr()
684 hwq_attr.stride = sizeof(dma_addr_t); in bnxt_qplib_reg_mr()
685 hwq_attr.type = HWQ_TYPE_MR; in bnxt_qplib_reg_mr()
686 hwq_attr.sginfo = &sginfo; in bnxt_qplib_reg_mr()
687 hwq_attr.sginfo->umem = umem; in bnxt_qplib_reg_mr()
688 hwq_attr.sginfo->npages = pages; in bnxt_qplib_reg_mr()
689 hwq_attr.sginfo->pgsize = buf_pg_size; in bnxt_qplib_reg_mr()
690 hwq_attr in bnxt_qplib_reg_mr()
741 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_alloc_fast_reg_page_list() local
[all...]
H A Dqplib_fp.c566 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_nq() local
577 hwq_attr.res = res; in bnxt_qplib_alloc_nq()
578 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()
579 hwq_attr.depth = nq->hwq.max_elements; in bnxt_qplib_alloc_nq()
580 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq()
581 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res); in bnxt_qplib_alloc_nq()
582 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_nq()
617 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_srq() local
625 hwq_attr.res = res; in bnxt_qplib_create_srq()
626 hwq_attr in bnxt_qplib_create_srq()
823 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_create_qp1() local
964 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_create_qp() local
2046 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_create_cq() local
[all...]
H A Dqplib_rcfw.c574 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_rcfw_channel() local
588 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()
589 hwq_attr.res = rcfw->res; in bnxt_qplib_alloc_rcfw_channel()
590 hwq_attr.depth = BNXT_QPLIB_CREQE_MAX_CNT; in bnxt_qplib_alloc_rcfw_channel()
591 hwq_attr.stride = BNXT_QPLIB_CREQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()
592 hwq_attr.type = bnxt_qplib_get_hwq_type(res); in bnxt_qplib_alloc_rcfw_channel()
594 if (bnxt_qplib_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_rcfw_channel()
605 hwq_attr.depth = rcfw->cmdq_depth & 0x7FFFFFFF; in bnxt_qplib_alloc_rcfw_channel()
606 hwq_attr.stride = BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()
607 hwq_attr in bnxt_qplib_alloc_rcfw_channel()
[all...]
H A Dqplib_res.h353 struct bnxt_qplib_hwq_attr *hwq_attr);
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c184 struct bnxt_qplib_hwq_attr *hwq_attr) in bnxt_qplib_alloc_init_hwq()
194 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 in bnxt_qplib_alloc_init_hwq()
183 bnxt_qplib_alloc_init_hwq(struct bnxt_qplib_hwq *hwq, struct bnxt_qplib_hwq_attr *hwq_attr) bnxt_qplib_alloc_init_hwq() argument
385 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_alloc_tqm_rings() local
502 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_alloc_ctx() local
[all...]
H A Dqplib_fp.c576 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_nq() local
587 hwq_attr.res = res; in bnxt_qplib_alloc_nq()
588 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()
589 hwq_attr.depth = nq->hwq.max_elements; in bnxt_qplib_alloc_nq()
590 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq()
591 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res); in bnxt_qplib_alloc_nq()
592 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_nq()
629 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_srq() local
637 hwq_attr.res = res; in bnxt_qplib_create_srq()
638 hwq_attr in bnxt_qplib_create_srq()
840 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_create_qp1() local
981 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_create_qp() local
2076 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_create_cq() local
2153 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_resize_cq() local
[all...]
H A Dqplib_sp.c598 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_reg_mr() local
615 hwq_attr.res = res; in bnxt_qplib_reg_mr()
616 hwq_attr.depth = pages; in bnxt_qplib_reg_mr()
617 hwq_attr.stride = sizeof(dma_addr_t); in bnxt_qplib_reg_mr()
618 hwq_attr.type = HWQ_TYPE_MR; in bnxt_qplib_reg_mr()
619 hwq_attr.sginfo = &sginfo; in bnxt_qplib_reg_mr()
620 hwq_attr.sginfo->umem = umem; in bnxt_qplib_reg_mr()
621 hwq_attr.sginfo->npages = pages; in bnxt_qplib_reg_mr()
622 hwq_attr.sginfo->pgsize = buf_pg_size; in bnxt_qplib_reg_mr()
623 hwq_attr in bnxt_qplib_reg_mr()
677 struct bnxt_qplib_hwq_attr hwq_attr = {}; bnxt_qplib_alloc_fast_reg_page_list() local
[all...]
H A Dqplib_rcfw.c933 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_rcfw_channel() local
946 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()
947 hwq_attr.res = rcfw->res; in bnxt_qplib_alloc_rcfw_channel()
948 hwq_attr.depth = BNXT_QPLIB_CREQE_MAX_CNT; in bnxt_qplib_alloc_rcfw_channel()
949 hwq_attr.stride = BNXT_QPLIB_CREQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()
950 hwq_attr.type = bnxt_qplib_get_hwq_type(res); in bnxt_qplib_alloc_rcfw_channel()
952 if (bnxt_qplib_alloc_init_hwq(&creq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_rcfw_channel()
961 hwq_attr.depth = rcfw->cmdq_depth & 0x7FFFFFFF; in bnxt_qplib_alloc_rcfw_channel()
962 hwq_attr.stride = BNXT_QPLIB_CMDQE_UNITS; in bnxt_qplib_alloc_rcfw_channel()
963 hwq_attr in bnxt_qplib_alloc_rcfw_channel()
[all...]
H A Dqplib_res.h372 struct bnxt_qplib_hwq_attr *hwq_attr);

Completed in 12 milliseconds