Searched refs:num_sqbs (Results 1 – 5 of 5) sorted by relevance
903 sq->num_sqbs = (qset->sqe_cnt + sq->sqe_per_sqb) / sq->sqe_per_sqb; in otx2_sq_init()905 sq->sqe_thresh = ((sq->num_sqbs * sq->sqe_per_sqb) * 10) / 100; in otx2_sq_init()1332 int qidx, pool_id, stack_pages, num_sqbs; in otx2_sq_aura_pool_init() local1345 num_sqbs = (hw->sqb_size / 128) - 1; in otx2_sq_aura_pool_init()1346 num_sqbs = (qset->sqe_cnt + num_sqbs) / num_sqbs; in otx2_sq_aura_pool_init()1350 (num_sqbs + hw->stack_pg_ptrs - 1) / hw->stack_pg_ptrs; in otx2_sq_aura_pool_init()1355 err = otx2_aura_init(pfvf, pool_id, pool_id, num_sqbs); in otx2_sq_aura_pool_init()1361 num_sqbs, hw->sqb_size); in otx2_sq_aura_pool_init()1378 sq->sqb_ptrs = kcalloc(num_sqbs, sizeof(*sq->sqb_ptrs), GFP_KERNEL); in otx2_sq_aura_pool_init()1382 for (ptr = 0; ptr < num_sqbs; ptr++) { in otx2_sq_aura_pool_init()
85 u16 num_sqbs; member
393 if (((sq->num_sqbs - *sq->aura_fc_addr) * sq->sqe_per_sqb) in otx2vf_xmit()
1261 free_sqe = (sq->num_sqbs - *sq->aura_fc_addr) * sq->sqe_per_sqb; in otx2_xdp_sq_append_pkt()
1957 if (((sq->num_sqbs - *sq->aura_fc_addr) * sq->sqe_per_sqb) in otx2_xmit()