Lines Matching refs:hwq_attr
555 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_alloc_nq() local
566 hwq_attr.res = res; in bnxt_qplib_alloc_nq()
567 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()
568 hwq_attr.depth = nq->hwq.max_elements; in bnxt_qplib_alloc_nq()
569 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq()
570 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res); in bnxt_qplib_alloc_nq()
571 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) { in bnxt_qplib_alloc_nq()
606 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_srq() local
614 hwq_attr.res = res; in bnxt_qplib_create_srq()
615 hwq_attr.sginfo = &srq->sg_info; in bnxt_qplib_create_srq()
616 hwq_attr.depth = srq->max_wqe; in bnxt_qplib_create_srq()
617 hwq_attr.stride = srq->wqe_size; in bnxt_qplib_create_srq()
618 hwq_attr.type = HWQ_TYPE_QUEUE; in bnxt_qplib_create_srq()
619 rc = bnxt_qplib_alloc_init_hwq(&srq->hwq, &hwq_attr); in bnxt_qplib_create_srq()
812 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_qp1() local
833 hwq_attr.res = res; in bnxt_qplib_create_qp1()
834 hwq_attr.sginfo = &sq->sg_info; in bnxt_qplib_create_qp1()
835 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp1()
836 hwq_attr.depth = bnxt_qplib_get_depth(sq); in bnxt_qplib_create_qp1()
837 hwq_attr.type = HWQ_TYPE_QUEUE; in bnxt_qplib_create_qp1()
838 rc = bnxt_qplib_alloc_init_hwq(&sq->hwq, &hwq_attr); in bnxt_qplib_create_qp1()
860 hwq_attr.res = res; in bnxt_qplib_create_qp1()
861 hwq_attr.sginfo = &rq->sg_info; in bnxt_qplib_create_qp1()
862 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp1()
863 hwq_attr.depth = bnxt_qplib_get_depth(rq); in bnxt_qplib_create_qp1()
864 hwq_attr.type = HWQ_TYPE_QUEUE; in bnxt_qplib_create_qp1()
865 rc = bnxt_qplib_alloc_init_hwq(&rq->hwq, &hwq_attr); in bnxt_qplib_create_qp1()
953 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_qp() local
982 hwq_attr.res = res; in bnxt_qplib_create_qp()
983 hwq_attr.sginfo = &sq->sg_info; in bnxt_qplib_create_qp()
984 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp()
985 hwq_attr.depth = bnxt_qplib_get_depth(sq); in bnxt_qplib_create_qp()
986 hwq_attr.aux_stride = psn_sz; in bnxt_qplib_create_qp()
987 hwq_attr.aux_depth = bnxt_qplib_set_sq_size(sq, qp->wqe_mode); in bnxt_qplib_create_qp()
988 hwq_attr.type = HWQ_TYPE_QUEUE; in bnxt_qplib_create_qp()
989 rc = bnxt_qplib_alloc_init_hwq(&sq->hwq, &hwq_attr); in bnxt_qplib_create_qp()
1014 hwq_attr.res = res; in bnxt_qplib_create_qp()
1015 hwq_attr.sginfo = &rq->sg_info; in bnxt_qplib_create_qp()
1016 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp()
1017 hwq_attr.depth = bnxt_qplib_get_depth(rq); in bnxt_qplib_create_qp()
1018 hwq_attr.aux_stride = 0; in bnxt_qplib_create_qp()
1019 hwq_attr.aux_depth = 0; in bnxt_qplib_create_qp()
1020 hwq_attr.type = HWQ_TYPE_QUEUE; in bnxt_qplib_create_qp()
1021 rc = bnxt_qplib_alloc_init_hwq(&rq->hwq, &hwq_attr); in bnxt_qplib_create_qp()
1070 hwq_attr.res = res; in bnxt_qplib_create_qp()
1071 hwq_attr.sginfo = &sginfo; in bnxt_qplib_create_qp()
1072 hwq_attr.depth = xrrq->max_elements; in bnxt_qplib_create_qp()
1073 hwq_attr.stride = BNXT_QPLIB_MAX_ORRQE_ENTRY_SIZE; in bnxt_qplib_create_qp()
1074 hwq_attr.aux_stride = 0; in bnxt_qplib_create_qp()
1075 hwq_attr.aux_depth = 0; in bnxt_qplib_create_qp()
1076 hwq_attr.type = HWQ_TYPE_CTX; in bnxt_qplib_create_qp()
1077 rc = bnxt_qplib_alloc_init_hwq(xrrq, &hwq_attr); in bnxt_qplib_create_qp()
1090 hwq_attr.depth = xrrq->max_elements; in bnxt_qplib_create_qp()
1091 hwq_attr.stride = BNXT_QPLIB_MAX_IRRQE_ENTRY_SIZE; in bnxt_qplib_create_qp()
1092 rc = bnxt_qplib_alloc_init_hwq(xrrq, &hwq_attr); in bnxt_qplib_create_qp()
2038 struct bnxt_qplib_hwq_attr hwq_attr = {}; in bnxt_qplib_create_cq() local
2046 hwq_attr.res = res; in bnxt_qplib_create_cq()
2047 hwq_attr.depth = cq->max_wqe; in bnxt_qplib_create_cq()
2048 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_create_cq()
2049 hwq_attr.type = HWQ_TYPE_QUEUE; in bnxt_qplib_create_cq()
2050 hwq_attr.sginfo = &cq->sg_info; in bnxt_qplib_create_cq()
2051 rc = bnxt_qplib_alloc_init_hwq(&cq->hwq, &hwq_attr); in bnxt_qplib_create_cq()