/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.c | 187 dp->tx_rings = kcalloc(dp->num_tx_rings, sizeof(*dp->tx_rings), in nfp_net_tx_rings_prepare() 194 dp->num_tx_rings * sizeof(u64), in nfp_net_tx_rings_prepare() 200 for (r = 0; r < dp->num_tx_rings; r++) { in nfp_net_tx_rings_prepare() 225 dma_free_coherent(dp->dev, dp->num_tx_rings * sizeof(u64), in nfp_net_tx_rings_prepare() 236 for (r = 0; r < dp->num_tx_rings; r++) { in nfp_net_tx_rings_free() 242 dma_free_coherent(dp->dev, dp->num_tx_rings * sizeof(u64), in nfp_net_tx_rings_free()
|
D | nfp_net_common.c | 415 dp->num_tx_rings > dp->num_r_vecs) in nfp_net_irqs_assign() 417 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign() 421 dp->num_tx_rings = min(dp->num_r_vecs, dp->num_tx_rings); in nfp_net_irqs_assign() 422 dp->num_stack_tx_rings = dp->num_tx_rings; in nfp_net_irqs_assign() 799 r_vec->xdp_ring = idx < dp->num_tx_rings - dp->num_stack_tx_rings ? in nfp_net_vector_assign_rings() 899 for (i = 0; i < nn->dp.num_tx_rings; i++) in nfp_net_coalesce_write_cfg() 967 for (r = 0; r < nn->dp.num_tx_rings; r++) in nfp_net_clear_config_and_disable() 1000 for (r = 0; r < nn->dp.num_tx_rings; r++) in nfp_net_set_config_and_enable() 1006 U64_MAX >> (64 - nn->dp.num_tx_rings)); in nfp_net_set_config_and_enable() 1603 if (dp->num_tx_rings > nn->max_tx_rings) { in nfp_net_check_config() [all …]
|
D | nfp_net_ethtool.c | 2208 unsigned int num_tx_rings; in nfp_net_get_channels() local 2210 num_tx_rings = nn->dp.num_tx_rings; in nfp_net_get_channels() 2212 num_tx_rings -= nn->dp.num_rx_rings; in nfp_net_get_channels() 2218 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels() 2220 channel->tx_count = num_tx_rings - channel->combined_count; in nfp_net_get_channels() 2234 dp->num_tx_rings = total_tx; in nfp_net_set_num_rings() 2237 dp->num_tx_rings += total_rx; in nfp_net_set_num_rings()
|
D | nfp_net.h | 537 unsigned int num_tx_rings; member
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 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() [all …]
|
D | enetc_ethtool.c | 48 len += ARRAY_SIZE(enetc_txbdr_regs) * priv->num_tx_rings; in enetc_get_reglen() 76 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_regs() 236 ARRAY_SIZE(tx_ring_stats) * priv->num_tx_rings + in enetc_get_sset_count() 259 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_strings() 296 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_ethtool_stats()
|
D | enetc.h | 245 int num_tx_rings; member 353 u16 num_rx_rings, num_tx_rings; member
|
D | enetc_qos.c | 63 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_taprio() 134 for (i = 0; i < priv->num_tx_rings; i++) in enetc_reset_taprio_stats() 166 for (i = 0; i < priv->num_tx_rings; i++) in enetc_taprio_stats() 363 if (tc < 0 || tc >= priv->num_tx_rings) in enetc_setup_tc_txtime()
|
/linux-6.12.1/drivers/net/ethernet/sun/ |
D | niu.c | 3756 for (i = 0; i < np->num_tx_rings; i++) { in niu_poll_core() 4108 for (i = 0; i < np->num_tx_rings; i++) { in niu_slowpath_interrupt() 4186 for (i = 0; i < np->num_tx_rings; i++) { in __niu_fastpath_interrupt() 4328 for (i = 0; i < np->num_tx_rings; i++) { in niu_free_channels() 4335 np->num_tx_rings = 0; in niu_free_channels() 4473 int num_rx_rings, num_tx_rings; in niu_alloc_channels() local 4486 num_tx_rings = parent->txchan_per_port[port]; in niu_alloc_channels() 4528 tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), in niu_alloc_channels() 4534 np->num_tx_rings = num_tx_rings; in niu_alloc_channels() 4538 netif_set_real_num_tx_queues(np->dev, num_tx_rings); in niu_alloc_channels() [all …]
|
D | niu.h | 3272 int num_tx_rings; member
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 695 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_mem() 747 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_alloc_tx_mem() 5312 for (i = 0; i < bp->num_tx_rings; i++) in bnx2_init_all_rings() 5315 if (bp->num_tx_rings > 1) in bnx2_init_all_rings() 5316 BNX2_WR(bp, BNX2_TSCH_TSS_CFG, ((bp->num_tx_rings - 1) << 24) | in bnx2_init_all_rings() 5416 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_skbs() 6331 bp->num_tx_rings = rounddown_pow_of_two(bp->irq_nvecs); in bnx2_setup_int_mode() 6333 bp->num_tx_rings = min(bp->irq_nvecs, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6340 netif_set_real_num_tx_queues(bp->dev, bp->num_tx_rings); in bnx2_setup_int_mode() 7777 channels->tx_count = bp->num_tx_rings; in bnx2_get_channels()
|
D | bnx2.h | 6987 u8 num_tx_rings; member
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 693 req->num_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_cfg()
|
D | bnxt_hsi.h | 1673 __le16 num_tx_rings; member 2147 __le16 num_tx_rings; member
|
D | bnxt.c | 7364 req->num_tx_rings = cpu_to_le16(hwr->tx); in __bnxt_hwrm_reserve_pf_rings() 7423 req->num_tx_rings = cpu_to_le16(hwr->tx); in __bnxt_hwrm_reserve_vf_rings()
|