Lines Matching refs:num_tx_rings
37 int num_tx_rings = priv->num_tx_rings; in enetc_num_stack_tx_queues() local
40 return num_tx_rings - num_possible_cpus(); in enetc_num_stack_tx_queues()
42 return num_tx_rings; in enetc_num_stack_tx_queues()
1737 si->num_tx_rings = val & 0xff; in enetc_get_si_caps()
1840 tx_res = kcalloc(priv->num_tx_rings, sizeof(*tx_res), GFP_KERNEL); in enetc_alloc_tx_resources()
1844 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_alloc_tx_resources()
1971 enetc_free_tx_resources(priv->tx_res, priv->num_tx_rings); in enetc_assign_tx_resources()
1973 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_assign_tx_resources()
2032 for (i = 0; i < priv->num_tx_rings; i++) in enetc_free_rxtx_rings()
2092 priv->num_tx_rings = si->num_tx_rings; in enetc_init_si_rings_params()
2209 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_bdrs()
2250 for (i = 0; i < priv->num_tx_rings; i++) in enetc_enable_tx_bdrs()
2284 for (i = 0; i < priv->num_tx_rings; i++) in enetc_disable_tx_bdrs()
2310 for (i = 0; i < priv->num_tx_rings; i++) in enetc_wait_bdrs()
2401 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_setup_interrupts()
2413 for (i = 0; i < priv->num_tx_rings; i++) in enetc_clear_interrupts()
2533 enetc_free_tx_resources(tx_res, priv->num_tx_rings); in enetc_open()
2653 enetc_free_tx_resources(tx_res, priv->num_tx_rings); in enetc_reconfigure()
2662 for (i = 0; i < priv->num_tx_rings; i++) in enetc_debug_tx_ring_prios()
2682 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_reset_tc_mqprio()
2796 priv->num_tx_rings) { in enetc_setup_xdp_prog()
2801 priv->num_tx_rings); in enetc_setup_xdp_prog()
2844 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_stats()
2890 for (i = 0; i < priv->num_tx_rings; i++) in enetc_enable_txvlan()
3017 v_tx_rings = priv->num_tx_rings / priv->bdr_int_num; in enetc_alloc_msix()
3089 first_xdp_tx_ring = priv->num_tx_rings - num_possible_cpus(); in enetc_alloc_msix()
3129 for (i = 0; i < priv->num_tx_rings; i++) in enetc_free_msix()