Lines Matching refs:cp_nr_rings
2963 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_free_cp_rings()
3024 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_alloc_cp_rings()
3075 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_init_ring_struct()
3244 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_init_cp_rings()
3314 bp->grp_info = kcalloc(bp->cp_nr_rings, in bnxt_init_ring_grps()
3320 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_init_ring_grps()
3744 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_free_ring_stats()
3763 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_alloc_stats()
3848 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_clear_ring_indices()
3962 bp->cp_nr_rings); in bnxt_alloc_mem()
3964 bnapi = kzalloc(arr_size + size * bp->cp_nr_rings, GFP_KERNEL); in bnxt_alloc_mem()
3970 for (i = 0; i < bp->cp_nr_rings; i++, bnapi += size) { in bnxt_alloc_mem()
4083 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_disable_int()
4109 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_disable_int_sync()
4121 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_enable_int()
5194 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_ring_grp_free()
5398 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_ring_alloc()
5612 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_ring_free()
5868 int cp = bp->cp_nr_rings; in bnxt_nq_rings_in_use()
5895 int cp = bp->cp_nr_rings; in bnxt_get_func_stat_ctxs()
5988 cp = min_t(int, cp, bp->cp_nr_rings); in __bnxt_reserve_rings()
5998 bp->cp_nr_rings = cp; in __bnxt_reserve_rings()
6256 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_set_coal()
6311 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_stat_ctx_free()
6343 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_hwrm_stat_ctx_alloc()
7886 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_setup_msix()
7983 return cp - bp->cp_nr_rings; in bnxt_get_avail_cp_rings_for_en()
7995 int total_req = bp->cp_nr_rings + num; in bnxt_get_avail_msix()
8001 avail_msix = max_idx - bp->cp_nr_rings; in bnxt_get_avail_msix()
8006 num = max_irq - bp->cp_nr_rings; in bnxt_get_avail_msix()
8065 bp->cp_nr_rings = (min == 1) ? in bnxt_init_msix()
8095 bp->cp_nr_rings = 1; in bnxt_init_inta()
8171 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_free_irq()
8208 for (i = 0, j = 0; i < bp->cp_nr_rings; i++) { in bnxt_request_irq()
8253 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_del_napi()
8268 unsigned int cp_nr_rings = bp->cp_nr_rings; in bnxt_init_napi() local
8277 cp_nr_rings--; in bnxt_init_napi()
8278 for (i = 0; i < cp_nr_rings; i++) { in bnxt_init_napi()
8283 bnapi = bp->bnapi[cp_nr_rings]; in bnxt_init_napi()
8300 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_disable_napi()
8314 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_enable_napi()
9425 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_get_ring_stats()
9913 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_dbg_dump_states()
10188 for (i = 0; i < bp->cp_nr_rings; i++) { in bnxt_chk_missed_irq()
10911 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_setup_mq_tc()
11501 bp->cp_nr_rings = min_t(int, bp->tx_nr_rings_per_tc, bp->rx_nr_rings); in bnxt_trim_dflt_sh_rings()
11502 bp->rx_nr_rings = bp->cp_nr_rings; in bnxt_trim_dflt_sh_rings()
11503 bp->tx_nr_rings_per_tc = bp->cp_nr_rings; in bnxt_trim_dflt_sh_rings()
11534 bp->cp_nr_rings = bp->tx_nr_rings_per_tc + bp->rx_nr_rings; in bnxt_set_dflt_rings()
11553 bp->cp_nr_rings++; in bnxt_set_dflt_rings()