Searched refs:num_sqbs (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | qos_sq.c | 36 int pool_id, stack_pages, num_sqbs; in otx2_qos_sq_aura_pool_init() local 49 num_sqbs = (hw->sqb_size / 128) - 1; in otx2_qos_sq_aura_pool_init() 50 num_sqbs = (qset->sqe_cnt + num_sqbs) / num_sqbs; in otx2_qos_sq_aura_pool_init() 54 (num_sqbs + hw->stack_pg_ptrs - 1) / hw->stack_pg_ptrs; in otx2_qos_sq_aura_pool_init() 60 err = otx2_aura_init(pfvf, pool_id, pool_id, num_sqbs); in otx2_qos_sq_aura_pool_init() 66 num_sqbs, hw->sqb_size); in otx2_qos_sq_aura_pool_init() 78 sq->sqb_ptrs = kcalloc(num_sqbs, sizeof(*sq->sqb_ptrs), GFP_KERNEL); in otx2_qos_sq_aura_pool_init() 84 for (ptr = 0; ptr < num_sqbs; ptr++) { in otx2_qos_sq_aura_pool_init()
|
D | otx2_common.c | 943 sq->num_sqbs = (qset->sqe_cnt + sq->sqe_per_sqb) / sq->sqe_per_sqb; in otx2_sq_init() 945 sq->sqe_thresh = ((sq->num_sqbs * sq->sqe_per_sqb) * 10) / 100; in otx2_sq_init() 1387 int qidx, pool_id, stack_pages, num_sqbs; in otx2_sq_aura_pool_init() local 1400 num_sqbs = (hw->sqb_size / 128) - 1; in otx2_sq_aura_pool_init() 1401 num_sqbs = (qset->sqe_cnt + num_sqbs) / num_sqbs; in otx2_sq_aura_pool_init() 1405 (num_sqbs + hw->stack_pg_ptrs - 1) / hw->stack_pg_ptrs; in otx2_sq_aura_pool_init() 1410 err = otx2_aura_init(pfvf, pool_id, pool_id, num_sqbs); in otx2_sq_aura_pool_init() 1416 num_sqbs, hw->sqb_size); in otx2_sq_aura_pool_init() 1433 sq->sqb_ptrs = kcalloc(num_sqbs, sizeof(*sq->sqb_ptrs), GFP_KERNEL); in otx2_sq_aura_pool_init() 1439 for (ptr = 0; ptr < num_sqbs; ptr++) { in otx2_sq_aura_pool_init()
|
D | otx2_txrx.h | 85 u16 num_sqbs; member
|
D | otx2_vf.c | 389 if (((sq->num_sqbs - *sq->aura_fc_addr) * sq->sqe_per_sqb) in otx2vf_xmit()
|
D | otx2_txrx.c | 1351 free_sqe = (sq->num_sqbs - *sq->aura_fc_addr) * sq->sqe_per_sqb; in otx2_xdp_sq_append_pkt()
|
D | otx2_pf.c | 2025 if (((sq->num_sqbs - *sq->aura_fc_addr) * sq->sqe_per_sqb) in otx2_xmit()
|