Lines Matching refs:hwq_attr
593 struct bnxt_qplib_hwq_attr hwq_attr = {};
604 hwq_attr.res = res;
605 hwq_attr.sginfo = &sginfo;
606 hwq_attr.depth = nq->hwq.max_elements;
607 hwq_attr.stride = sizeof(struct nq_base);
608 hwq_attr.type = bnxt_qplib_get_hwq_type(nq->res);
609 if (bnxt_qplib_alloc_init_hwq(&nq->hwq, &hwq_attr)) {
646 struct bnxt_qplib_hwq_attr hwq_attr = {};
654 hwq_attr.res = res;
655 hwq_attr.sginfo = &srq->sg_info;
656 hwq_attr.depth = srq->max_wqe;
657 hwq_attr.stride = srq->wqe_size;
658 hwq_attr.type = HWQ_TYPE_QUEUE;
659 rc = bnxt_qplib_alloc_init_hwq(&srq->hwq, &hwq_attr);
846 struct bnxt_qplib_hwq_attr hwq_attr = {};
869 hwq_attr.res = res;
870 hwq_attr.sginfo = &sq->sg_info;
871 hwq_attr.stride = sizeof(struct sq_sge);
872 hwq_attr.depth = bnxt_qplib_get_depth(sq, qp->wqe_mode, false);
873 hwq_attr.type = HWQ_TYPE_QUEUE;
874 rc = bnxt_qplib_alloc_init_hwq(&sq->hwq, &hwq_attr);
897 hwq_attr.res = res;
898 hwq_attr.sginfo = &rq->sg_info;
899 hwq_attr.stride = sizeof(struct sq_sge);
900 hwq_attr.depth = bnxt_qplib_get_depth(rq, qp->wqe_mode, false);
901 hwq_attr.type = HWQ_TYPE_QUEUE;
902 rc = bnxt_qplib_alloc_init_hwq(&rq->hwq, &hwq_attr);
989 struct bnxt_qplib_hwq_attr hwq_attr = {};
1027 hwq_attr.res = res;
1028 hwq_attr.sginfo = &sq->sg_info;
1029 hwq_attr.stride = sizeof(struct sq_sge);
1030 hwq_attr.depth = bnxt_qplib_get_depth(sq, qp->wqe_mode, true);
1031 hwq_attr.aux_stride = psn_sz;
1032 hwq_attr.aux_depth = psn_sz ? bnxt_qplib_set_sq_size(sq, qp->wqe_mode)
1037 hwq_attr.aux_depth =
1040 hwq_attr.aux_depth =
1042 qp->msn_tbl_sz = hwq_attr.aux_depth;
1046 hwq_attr.type = HWQ_TYPE_QUEUE;
1047 rc = bnxt_qplib_alloc_init_hwq(&sq->hwq, &hwq_attr);
1074 hwq_attr.res = res;
1075 hwq_attr.sginfo = &rq->sg_info;
1076 hwq_attr.stride = sizeof(struct sq_sge);
1077 hwq_attr.depth = bnxt_qplib_get_depth(rq, qp->wqe_mode, false);
1078 hwq_attr.aux_stride = 0;
1079 hwq_attr.aux_depth = 0;
1080 hwq_attr.type = HWQ_TYPE_QUEUE;
1081 rc = bnxt_qplib_alloc_init_hwq(&rq->hwq, &hwq_attr);
1132 hwq_attr.res = res;
1133 hwq_attr.sginfo = &sginfo;
1134 hwq_attr.depth = xrrq->max_elements;
1135 hwq_attr.stride = BNXT_QPLIB_MAX_ORRQE_ENTRY_SIZE;
1136 hwq_attr.aux_stride = 0;
1137 hwq_attr.aux_depth = 0;
1138 hwq_attr.type = HWQ_TYPE_CTX;
1139 rc = bnxt_qplib_alloc_init_hwq(xrrq, &hwq_attr);
1152 hwq_attr.depth = xrrq->max_elements;
1153 hwq_attr.stride = BNXT_QPLIB_MAX_IRRQE_ENTRY_SIZE;
1154 rc = bnxt_qplib_alloc_init_hwq(xrrq, &hwq_attr);
2217 struct bnxt_qplib_hwq_attr hwq_attr = {};
2233 hwq_attr.res = res;
2234 hwq_attr.depth = cq->max_wqe;
2235 hwq_attr.stride = sizeof(struct cq_base);
2236 hwq_attr.type = HWQ_TYPE_QUEUE;
2237 hwq_attr.sginfo = &cq->sg_info;
2238 rc = bnxt_qplib_alloc_init_hwq(&cq->hwq, &hwq_attr);
2319 struct bnxt_qplib_hwq_attr hwq_attr = {};
2331 hwq_attr.sginfo = &cq->sg_info;
2332 hwq_attr.res = res;
2333 hwq_attr.depth = new_cqes;
2334 hwq_attr.stride = sizeof(struct cq_base);
2335 hwq_attr.type = HWQ_TYPE_QUEUE;
2336 rc = bnxt_qplib_alloc_init_hwq(&cq->resize_hwq, &hwq_attr);