Home
last modified time | relevance | path

Searched refs:num_ptrs (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k.c114 int num_ptrs = 1; in cn10k_refill_pool_ptrs() local
120 if (num_ptrs--) in cn10k_refill_pool_ptrs()
122 num_ptrs); in cn10k_refill_pool_ptrs()
126 ptrs[num_ptrs] = (u64)bufptr + OTX2_HEAD_ROOM; in cn10k_refill_pool_ptrs()
127 num_ptrs++; in cn10k_refill_pool_ptrs()
128 if (num_ptrs == NPA_MAX_BURST || cq->pool_ptrs == 0) { in cn10k_refill_pool_ptrs()
130 num_ptrs); in cn10k_refill_pool_ptrs()
131 num_ptrs = 1; in cn10k_refill_pool_ptrs()
Dotx2_common.h699 u64 *ptrs, u64 num_ptrs) in __cn10k_aura_freeptr() argument
710 count_eot = (num_ptrs % 2) ? 0ULL : 1ULL; in __cn10k_aura_freeptr()
718 if (num_ptrs > 2) { in __cn10k_aura_freeptr()
719 size = (sizeof(u64) * num_ptrs) / 16; in __cn10k_aura_freeptr()
725 memcpy((u64 *)lmt_info->lmt_addr, ptrs, sizeof(u64) * num_ptrs); in __cn10k_aura_freeptr()
Dotx2_common.c1402 int err, ptr, num_ptrs; in otx2_rq_aura_pool_init() local
1405 num_ptrs = pfvf->qset.rqe_cnt; in otx2_rq_aura_pool_init()
1408 (num_ptrs + hw->stack_pg_ptrs - 1) / hw->stack_pg_ptrs; in otx2_rq_aura_pool_init()
1413 err = otx2_aura_init(pfvf, pool_id, pool_id, num_ptrs); in otx2_rq_aura_pool_init()
1419 num_ptrs, pfvf->rbsize); in otx2_rq_aura_pool_init()
1432 for (ptr = 0; ptr < num_ptrs; ptr++) { in otx2_rq_aura_pool_init()