Lines Matching refs:stride
224 u32 npages = 0, depth, stride, aux_pages = 0; in bnxt_qplib_alloc_init_hwq() local
241 stride = roundup_pow_of_two(hwq_attr->stride); in bnxt_qplib_alloc_init_hwq()
252 npages = (depth * stride) / pg_size + aux_pages; in bnxt_qplib_alloc_init_hwq()
253 if ((depth * stride) % pg_size) in bnxt_qplib_alloc_init_hwq()
388 hwq->element_size = stride; in bnxt_qplib_alloc_init_hwq()
389 hwq->qe_ppg = (pg_size/stride); in bnxt_qplib_alloc_init_hwq()
443 hwq_attr.stride = sizeof(u64); in bnxt_qplib_alloc_tqm_rings()
451 hwq_attr.stride = 1; in bnxt_qplib_alloc_tqm_rings()
558 hwq_attr.stride = BNXT_QPLIB_MAX_QP_CTX_ENTRY_SIZE; in bnxt_qplib_alloc_hwctx()
567 hwq_attr.stride = BNXT_QPLIB_MAX_MRW_CTX_ENTRY_SIZE; in bnxt_qplib_alloc_hwctx()
575 hwq_attr.stride = BNXT_QPLIB_MAX_SRQ_CTX_ENTRY_SIZE; in bnxt_qplib_alloc_hwctx()
583 hwq_attr.stride = BNXT_QPLIB_MAX_CQ_CTX_ENTRY_SIZE; in bnxt_qplib_alloc_hwctx()
595 hwq_attr.stride = 1; in bnxt_qplib_alloc_hwctx()