Lines Matching refs:cp_nr_rings

3826 	for (i = 0; i < bp->cp_nr_rings; i++) {  in bnxt_free_all_cp_arrays()
3839 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_alloc_all_cp_arrays()
3859 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_free_cp_rings()
3925 for (i = 0, j = 0; i < bp->cp_nr_rings; i++) { in bnxt_alloc_cp_rings()
4053 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_init_ring_struct()
4255 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_init_cp_rings()
4329 bp->grp_info = kcalloc(bp->cp_nr_rings, in bnxt_init_ring_grps()
4335 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_init_ring_grps()
4900 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_free_ring_stats()
4918 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_alloc_stats()
4985 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_clear_ring_indices()
5167 bp->cp_nr_rings); in bnxt_alloc_mem()
5169 bnapi = kzalloc(arr_size + size * bp->cp_nr_rings, GFP_KERNEL); in bnxt_alloc_mem()
5175 for (i = 0; i < bp->cp_nr_rings; i++, bnapi += size) { in bnxt_alloc_mem()
5311 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_disable_int()
5340 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_disable_int_sync()
5352 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_enable_int()
6744 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_ring_grp_free()
7028 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_ring_alloc()
7236 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_ring_free()
7496 return bp->cp_nr_rings + bnxt_get_ulp_msix_num(bp); in bnxt_nq_rings_in_use()
7512 return bp->cp_nr_rings + bnxt_get_ulp_stat_ctxs(bp); in bnxt_get_func_stat_ctxs()
7627 int cp = bp->cp_nr_rings; in __bnxt_reserve_rings()
7685 hwr.cp = min_t(int, hwr.cp, bp->cp_nr_rings); in __bnxt_reserve_rings()
7711 bp->cp_nr_rings = hwr.cp; in __bnxt_reserve_rings()
7725 resv_msix = hw_resc->resv_irqs - bp->cp_nr_rings; in __bnxt_reserve_rings()
7728 resv_ctx = hw_resc->resv_stat_ctxs - bp->cp_nr_rings; in __bnxt_reserve_rings()
8010 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_set_coal()
8062 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_stat_ctx_free()
8099 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_stat_ctx_alloc()
9826 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_accumulate_all_stats()
10608 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_setup_msix()
10720 return cp - bp->cp_nr_rings; in bnxt_get_avail_cp_rings_for_en()
10731 int total_req = bp->cp_nr_rings + num; in bnxt_get_avail_msix()
10734 num = max_irq - bp->cp_nr_rings; in bnxt_get_avail_msix()
10788 bp->cp_nr_rings = (min == 1) ? in bnxt_init_int_mode()
10830 irqs_required = ulp_msix + bp->cp_nr_rings; in bnxt_reserve_rings()
10882 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_free_irq()
10916 for (i = 0, j = 0; i < bp->cp_nr_rings; i++) { in bnxt_request_irq()
10967 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_del_napi()
10981 unsigned int cp_nr_rings = bp->cp_nr_rings; in bnxt_init_napi() local
10988 cp_nr_rings--; in bnxt_init_napi()
10989 for (i = 0; i < cp_nr_rings; i++) { in bnxt_init_napi()
10994 bnapi = bp->bnapi[cp_nr_rings]; in bnxt_init_napi()
11007 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_disable_napi()
11027 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_enable_napi()
12489 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_get_ring_stats()
12607 for (i = 0; i < bp->cp_nr_rings; i++) in bnxt_get_ring_err_stats()
13229 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_dbg_dump_states()
13616 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_chk_missed_irq()
14543 bp->cp_nr_rings = sh ? max_t(int, tx_cp, bp->rx_nr_rings) : in bnxt_setup_mq_tc()
15476 bp->cp_nr_rings = min_t(int, bp->tx_nr_rings_per_tc, bp->rx_nr_rings); in bnxt_trim_dflt_sh_rings()
15477 bp->rx_nr_rings = bp->cp_nr_rings; in bnxt_trim_dflt_sh_rings()
15478 bp->tx_nr_rings_per_tc = bp->cp_nr_rings; in bnxt_trim_dflt_sh_rings()
15510 bp->cp_nr_rings = bp->tx_nr_rings_per_tc + bp->rx_nr_rings; in bnxt_set_dflt_rings()
15513 avail_msix = bnxt_get_max_func_irqs(bp) - bp->cp_nr_rings; in bnxt_set_dflt_rings()
15537 bp->cp_nr_rings++; in bnxt_set_dflt_rings()