Home
last modified time | relevance | path

Searched refs:num_rx_rings (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c42 len += ARRAY_SIZE(enetc_rxbdr_regs) * priv->num_rx_rings; in enetc_get_reglen()
75 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_regs()
211 ARRAY_SIZE(rx_ring_stats) * priv->num_rx_rings; in enetc_get_sset_count()
240 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_strings()
273 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_ethtool_stats()
403 rxnfc->data = priv->num_rx_rings; in enetc_get_rxnfc()
456 if (rxnfc->fs.ring_cookie >= priv->num_rx_rings && in enetc_set_rxnfc()
Denetc.c803 si->num_rx_rings = (val >> 16) & 0xff; in enetc_get_si_caps()
951 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_alloc_rx_resources()
971 for (i = 0; i < priv->num_rx_rings; i++) in enetc_free_rx_resources()
1020 for (i = 0; i < priv->num_rx_rings; i++) in enetc_free_rxtx_rings()
1116 err = enetc_setup_default_rss_table(si, priv->num_rx_rings); in enetc_configure_si()
1136 priv->num_rx_rings = min_t(int, cpus, si->num_rx_rings); in enetc_init_si_rings_params()
1268 for (i = 0; i < priv->num_rx_rings; i++) in enetc_setup_bdrs()
1307 for (i = 0; i < priv->num_rx_rings; i++) in enetc_clear_bdrs()
1393 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_setup_interrupts()
1418 for (i = 0; i < priv->num_rx_rings; i++) in enetc_clear_interrupts()
[all …]
Denetc.h168 int num_rx_rings; /* how many rings are available in the SI */ member
252 u16 num_rx_rings, num_tx_rings; member
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c444 if (dp->num_rx_rings > dp->num_r_vecs || in nfp_net_irqs_assign()
447 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign()
450 dp->num_rx_rings = min(dp->num_r_vecs, dp->num_rx_rings); in nfp_net_irqs_assign()
2568 dp->rx_rings = kcalloc(dp->num_rx_rings, sizeof(*dp->rx_rings), in nfp_net_rx_rings_prepare()
2573 for (r = 0; r < dp->num_rx_rings; r++) { in nfp_net_rx_rings_prepare()
2599 for (r = 0; r < dp->num_rx_rings; r++) { in nfp_net_rx_rings_free()
2611 r_vec->rx_ring = idx < dp->num_rx_rings ? &dp->rx_rings[idx] : NULL; in nfp_net_vector_assign_rings()
2712 for (i = 0; i < nn->dp.num_rx_rings; i++) in nfp_net_coalesce_write_cfg()
2777 for (r = 0; r < nn->dp.num_rx_rings; r++) in nfp_net_clear_config_and_disable()
2832 for (r = 0; r < nn->dp.num_rx_rings; r++) in nfp_net_set_config_and_enable()
[all …]
Dnfp_net_ethtool.c924 cmd->data = nn->dp.num_rx_rings; in nfp_net_get_rxnfc()
1404 num_tx_rings -= nn->dp.num_rx_rings; in nfp_net_get_channels()
1410 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels()
1411 channel->rx_count = nn->dp.num_rx_rings - channel->combined_count; in nfp_net_get_channels()
1425 dp->num_rx_rings = total_rx; in nfp_net_set_num_rings()
Dnfp_net.h529 unsigned int num_rx_rings; member
/Linux-v5.10/drivers/net/ethernet/sun/
Dniu.c3744 for (i = 0; i < np->num_rx_rings; i++) { in niu_poll_core()
4073 for (i = 0; i < np->num_rx_rings; i++) { in niu_slowpath_interrupt()
4157 for (i = 0; i < np->num_rx_rings; i++) { in __niu_fastpath_interrupt()
4300 for (i = 0; i < np->num_rx_rings; i++) { in niu_free_channels()
4307 np->num_rx_rings = 0; in niu_free_channels()
4456 int num_rx_rings, num_tx_rings; in niu_alloc_channels() local
4468 num_rx_rings = parent->rxchan_per_port[port]; in niu_alloc_channels()
4471 rx_rings = kcalloc(num_rx_rings, sizeof(struct rx_ring_info), in niu_alloc_channels()
4477 np->num_rx_rings = num_rx_rings; in niu_alloc_channels()
4481 netif_set_real_num_rx_queues(np->dev, num_rx_rings); in niu_alloc_channels()
[all …]
Dniu.h3271 int num_rx_rings; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c247 int num_rx_rings; in mlx4_en_set_num_rx_rings() local
256 num_rx_rings = mlx4_low_memory_profile() ? MIN_RX_RINGS : in mlx4_en_set_num_rx_rings()
259 rounddown_pow_of_two(num_rx_rings); in mlx4_en_set_num_rx_rings()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dbnx2.c715 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()
5338 for (i = 0; i < bp->num_rx_rings; i++) in bnx2_init_all_rings()
5341 if (bp->num_rx_rings > 1) { in bnx2_init_all_rings()
5347 tbl_32 |= (i % (bp->num_rx_rings - 1)) << shift; in bnx2_init_all_rings()
5476 for (i = 0; i < bp->num_rx_rings; i++) { in bnx2_free_rx_skbs()
6351 bp->num_rx_rings = bp->irq_nvecs; in bnx2_setup_int_mode()
6353 bp->num_rx_rings = min(bp->irq_nvecs, bp->num_req_rx_rings); in bnx2_setup_int_mode()
6357 return netif_set_real_num_rx_queues(bp->dev, bp->num_rx_rings); in bnx2_setup_int_mode()
[all …]
Dbnx2.h6989 u8 num_rx_rings; member
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c656 req.num_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_cfg()
Dbnxt_hsi.h1174 __le16 num_rx_rings; member
1485 __le16 num_rx_rings; member
Dbnxt.c6005 req->num_rx_rings = cpu_to_le16(rx_rings); in __bnxt_hwrm_reserve_pf_rings()
6053 req->num_rx_rings = cpu_to_le16(rx_rings); in __bnxt_hwrm_reserve_vf_rings()