/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 414 if (dp->num_rx_rings > dp->num_r_vecs || in nfp_net_irqs_assign() 417 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign() 420 dp->num_rx_rings = min(dp->num_r_vecs, dp->num_rx_rings); in nfp_net_irqs_assign() 795 r_vec->rx_ring = idx < dp->num_rx_rings ? &dp->rx_rings[idx] : NULL; in nfp_net_vector_assign_rings() 893 for (i = 0; i < nn->dp.num_rx_rings; i++) in nfp_net_coalesce_write_cfg() 962 for (r = 0; r < nn->dp.num_rx_rings; r++) { in nfp_net_clear_config_and_disable() 1002 for (r = 0; r < nn->dp.num_rx_rings; r++) in nfp_net_set_config_and_enable() 1009 U64_MAX >> (64 - nn->dp.num_rx_rings)); in nfp_net_set_config_and_enable() 1047 for (r = 0; r < nn->dp.num_rx_rings; r++) in nfp_net_set_config_and_enable() 1318 err = netif_set_real_num_rx_queues(netdev, nn->dp.num_rx_rings); in nfp_net_netdev_open() [all …]
|
D | nfp_net_dp.c | 343 dp->rx_rings = kcalloc(dp->num_rx_rings, sizeof(*dp->rx_rings), in nfp_net_rx_rings_prepare() 348 for (r = 0; r < dp->num_rx_rings; r++) { in nfp_net_rx_rings_prepare() 374 for (r = 0; r < dp->num_rx_rings; r++) { in nfp_net_rx_rings_free()
|
D | nfp_net_ethtool.c | 1444 cmd->data = nn->dp.num_rx_rings; in nfp_net_get_rxnfc() 1630 fs->ring_cookie >= nn->dp.num_rx_rings) in nfp_net_fs_add() 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() 2219 channel->rx_count = nn->dp.num_rx_rings - channel->combined_count; in nfp_net_get_channels() 2233 dp->num_rx_rings = total_rx; in nfp_net_set_num_rings()
|
D | nfp_net.h | 539 unsigned int num_rx_rings; member
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1736 si->num_rx_rings = (val >> 16) & 0xff; in enetc_get_si_caps() 1912 rx_res = kcalloc(priv->num_rx_rings, sizeof(*rx_res), GFP_KERNEL); in enetc_alloc_rx_resources() 1916 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_alloc_rx_resources() 1987 enetc_free_rx_resources(priv->rx_res, priv->num_rx_rings); in enetc_assign_rx_resources() 1989 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_assign_rx_resources() 2029 for (i = 0; i < priv->num_rx_rings; i++) in enetc_free_rxtx_rings() 2070 err = enetc_setup_default_rss_table(si, priv->num_rx_rings); in enetc_configure_si() 2091 priv->num_rx_rings = min_t(int, cpus, si->num_rx_rings); in enetc_init_si_rings_params() 2212 for (i = 0; i < priv->num_rx_rings; i++) in enetc_setup_bdrs() 2241 for (i = 0; i < priv->num_rx_rings; i++) in enetc_enable_rx_bdrs() [all …]
|
D | enetc_ethtool.c | 49 len += ARRAY_SIZE(enetc_rxbdr_regs) * priv->num_rx_rings; in enetc_get_reglen() 85 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_regs() 237 ARRAY_SIZE(rx_ring_stats) * priv->num_rx_rings; in enetc_get_sset_count() 266 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_strings() 303 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_ethtool_stats() 598 rxnfc->data = priv->num_rx_rings; in enetc_get_rxnfc() 651 if (rxnfc->fs.ring_cookie >= priv->num_rx_rings && in enetc_set_rxnfc()
|
D | enetc.h | 244 int num_rx_rings; /* how many rings are available in the SI */ member 353 u16 num_rx_rings, num_tx_rings; member
|
D | enetc_pf.c | 1019 for (idx = 0; idx < priv->num_rx_rings; idx++) { in enetc_pl_mac_link_up()
|
/linux-6.12.1/drivers/net/ethernet/sun/ |
D | niu.c | 3763 for (i = 0; i < np->num_rx_rings; i++) { in niu_poll_core() 4090 for (i = 0; i < np->num_rx_rings; i++) { in niu_slowpath_interrupt() 4174 for (i = 0; i < np->num_rx_rings; i++) { in __niu_fastpath_interrupt() 4317 for (i = 0; i < np->num_rx_rings; i++) { in niu_free_channels() 4324 np->num_rx_rings = 0; in niu_free_channels() 4473 int num_rx_rings, num_tx_rings; in niu_alloc_channels() local 4485 num_rx_rings = parent->rxchan_per_port[port]; in niu_alloc_channels() 4488 rx_rings = kcalloc(num_rx_rings, sizeof(struct rx_ring_info), in niu_alloc_channels() 4494 np->num_rx_rings = num_rx_rings; in niu_alloc_channels() 4498 netif_set_real_num_rx_queues(np->dev, num_rx_rings); in niu_alloc_channels() [all …]
|
D | niu.h | 3271 int num_rx_rings; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 250 int num_rx_rings; in mlx4_en_set_num_rx_rings() local 259 num_rx_rings = mlx4_low_memory_profile() ? MIN_RX_RINGS : in mlx4_en_set_num_rx_rings() 262 rounddown_pow_of_two(num_rx_rings); in mlx4_en_set_num_rx_rings()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 715 for (i = 0; i < bp->num_rx_rings; i++) { in bnx2_free_rx_mem() 769 for (i = 0; i < bp->num_rx_rings; i++) { in bnx2_alloc_rx_mem() 1308 for (i = 0, cid = RX_CID; i < bp->num_rx_rings; i++, cid++) { in bnx2_init_all_rx_contexts() 5322 for (i = 0; i < bp->num_rx_rings; i++) in bnx2_init_all_rings() 5325 if (bp->num_rx_rings > 1) { in bnx2_init_all_rings() 5331 tbl_32 |= (i % (bp->num_rx_rings - 1)) << shift; in bnx2_init_all_rings() 5461 for (i = 0; i < bp->num_rx_rings; i++) { in bnx2_free_rx_skbs() 6336 bp->num_rx_rings = bp->irq_nvecs; in bnx2_setup_int_mode() 6338 bp->num_rx_rings = min(bp->irq_nvecs, bp->num_req_rx_rings); in bnx2_setup_int_mode() 6342 return netif_set_real_num_rx_queues(bp->dev, bp->num_rx_rings); in bnx2_setup_int_mode() [all …]
|
D | bnx2.h | 6988 u8 num_rx_rings; member
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 694 req->num_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_cfg()
|
D | bnxt_hsi.h | 1674 __le16 num_rx_rings; member 2148 __le16 num_rx_rings; member
|
D | bnxt.c | 7381 req->num_rx_rings = cpu_to_le16(hwr->rx); in __bnxt_hwrm_reserve_pf_rings() 7424 req->num_rx_rings = cpu_to_le16(hwr->rx); in __bnxt_hwrm_reserve_vf_rings()
|