Home
last modified time | relevance | path

Searched refs:num_tx_rings (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.c736 si->num_tx_rings = val & 0xff; in enetc_get_si_caps()
807 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_alloc_tx_resources()
827 for (i = 0; i < priv->num_tx_rings; i++) in enetc_free_tx_resources()
941 for (i = 0; i < priv->num_tx_rings; i++) in enetc_free_rxtx_rings()
1055 priv->num_tx_rings = si->num_tx_rings; in enetc_init_si_rings_params()
1179 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_bdrs()
1218 for (i = 0; i < priv->num_tx_rings; i++) in enetc_clear_bdrs()
1298 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_enable_interrupts()
1308 for (i = 0; i < priv->num_tx_rings; i++) in enetc_disable_interrupts()
1365 err = netif_set_real_num_tx_queues(ndev, priv->num_tx_rings); in enetc_open()
[all …]
Denetc_ethtool.c39 len += ARRAY_SIZE(enetc_txbdr_regs) * priv->num_tx_rings; in enetc_get_reglen()
64 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_regs()
201 ARRAY_SIZE(tx_ring_stats) * priv->num_tx_rings + in enetc_get_sset_count()
221 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_strings()
258 for (i = 0; i < priv->num_tx_rings; i++) in enetc_get_ethtool_stats()
Denetc.h132 int num_tx_rings; member
185 u16 num_rx_rings, num_tx_rings; member
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1322 unsigned int num_tx_rings; in nfp_net_get_channels() local
1324 num_tx_rings = nn->dp.num_tx_rings; in nfp_net_get_channels()
1326 num_tx_rings -= nn->dp.num_rx_rings; in nfp_net_get_channels()
1332 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels()
1334 channel->tx_count = num_tx_rings - channel->combined_count; in nfp_net_get_channels()
1348 dp->num_tx_rings = total_tx; in nfp_net_set_num_rings()
1351 dp->num_tx_rings += total_rx; in nfp_net_set_num_rings()
Dnfp_net_common.c444 dp->num_tx_rings > dp->num_r_vecs) in nfp_net_irqs_assign()
446 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign()
450 dp->num_tx_rings = min(dp->num_r_vecs, dp->num_tx_rings); in nfp_net_irqs_assign()
451 dp->num_stack_tx_rings = dp->num_tx_rings; in nfp_net_irqs_assign()
2448 dp->tx_rings = kcalloc(dp->num_tx_rings, sizeof(*dp->tx_rings), in nfp_net_tx_rings_prepare()
2453 for (r = 0; r < dp->num_tx_rings; r++) { in nfp_net_tx_rings_prepare()
2485 for (r = 0; r < dp->num_tx_rings; r++) { in nfp_net_tx_rings_free()
2610 r_vec->xdp_ring = idx < dp->num_tx_rings - dp->num_stack_tx_rings ? in nfp_net_vector_assign_rings()
2713 for (i = 0; i < nn->dp.num_tx_rings; i++) in nfp_net_coalesce_write_cfg()
2774 for (r = 0; r < nn->dp.num_tx_rings; r++) in nfp_net_clear_config_and_disable()
[all …]
Dnfp_net.h527 unsigned int num_tx_rings; member
/Linux-v5.4/drivers/net/ethernet/sun/
Dniu.c3737 for (i = 0; i < np->num_tx_rings; i++) { in niu_poll_core()
4091 for (i = 0; i < np->num_tx_rings; i++) { in niu_slowpath_interrupt()
4169 for (i = 0; i < np->num_tx_rings; i++) { in __niu_fastpath_interrupt()
4311 for (i = 0; i < np->num_tx_rings; i++) { in niu_free_channels()
4318 np->num_tx_rings = 0; in niu_free_channels()
4456 int num_rx_rings, num_tx_rings; in niu_alloc_channels() local
4469 num_tx_rings = parent->txchan_per_port[port]; in niu_alloc_channels()
4511 tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), in niu_alloc_channels()
4517 np->num_tx_rings = num_tx_rings; in niu_alloc_channels()
4521 netif_set_real_num_tx_queues(np->dev, num_tx_rings); in niu_alloc_channels()
[all …]
Dniu.h3272 int num_tx_rings; member
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbnx2.c701 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_mem()
753 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_alloc_tx_mem()
5334 for (i = 0; i < bp->num_tx_rings; i++) in bnx2_init_all_rings()
5337 if (bp->num_tx_rings > 1) in bnx2_init_all_rings()
5338 BNX2_WR(bp, BNX2_TSCH_TSS_CFG, ((bp->num_tx_rings - 1) << 24) | in bnx2_init_all_rings()
5437 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_skbs()
6352 bp->num_tx_rings = rounddown_pow_of_two(bp->irq_nvecs); in bnx2_setup_int_mode()
6354 bp->num_tx_rings = min(bp->irq_nvecs, bp->num_req_tx_rings); in bnx2_setup_int_mode()
6361 netif_set_real_num_tx_queues(bp->dev, bp->num_tx_rings); in bnx2_setup_int_mode()
7790 channels->tx_count = bp->num_tx_rings; in bnx2_get_channels()
Dbnx2.h6988 u8 num_tx_rings; member
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c658 req.num_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_cfg()
Dbnxt_hsi.h1052 __le16 num_tx_rings; member
1321 __le16 num_tx_rings; member
Dbnxt.c5728 req->num_tx_rings = cpu_to_le16(tx_rings); in __bnxt_hwrm_reserve_pf_rings()
5794 req->num_tx_rings = cpu_to_le16(tx_rings); in __bnxt_hwrm_reserve_vf_rings()