Searched refs:num_tx_rings (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 811 si->num_tx_rings = val & 0xff; in enetc_get_si_caps() 890 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_alloc_tx_resources() 910 for (i = 0; i < priv->num_tx_rings; i++) in enetc_free_tx_resources() 1030 for (i = 0; i < priv->num_tx_rings; i++) in enetc_free_rxtx_rings() 1143 priv->num_tx_rings = si->num_tx_rings; in enetc_init_si_rings_params() 1274 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_bdrs() 1314 for (i = 0; i < priv->num_tx_rings; i++) in enetc_clear_bdrs() 1411 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_setup_interrupts() 1423 for (i = 0; i < priv->num_tx_rings; i++) in enetc_clear_interrupts() 1496 err = netif_set_real_num_tx_queues(ndev, priv->num_tx_rings); in enetc_open() [all …]
|
D | enetc_ethtool.c | 41 len += ARRAY_SIZE(enetc_txbdr_regs) * priv->num_tx_rings; in enetc_get_reglen() 66 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_regs() 210 ARRAY_SIZE(tx_ring_stats) * priv->num_tx_rings + in enetc_get_sset_count() 233 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_strings() 270 for (i = 0; i < priv->num_tx_rings; i++) in enetc_get_ethtool_stats()
|
D | enetc.h | 170 int num_tx_rings; member 253 u16 num_rx_rings, num_tx_rings; member
|
D | enetc_qos.c | 152 for (i = 0; i < priv->num_tx_rings; i++) in enetc_setup_tc_taprio() 156 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_setup_tc_taprio() 164 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_setup_tc_taprio() 313 if (tc < 0 || tc >= priv->num_tx_rings) in enetc_setup_tc_txtime()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 1407 unsigned int num_tx_rings; in nfp_net_get_channels() local 1409 num_tx_rings = nn->dp.num_tx_rings; in nfp_net_get_channels() 1411 num_tx_rings -= nn->dp.num_rx_rings; in nfp_net_get_channels() 1417 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels() 1419 channel->tx_count = num_tx_rings - channel->combined_count; in nfp_net_get_channels() 1433 dp->num_tx_rings = total_tx; in nfp_net_set_num_rings() 1436 dp->num_tx_rings += total_rx; in nfp_net_set_num_rings()
|
D | nfp_net_common.c | 445 dp->num_tx_rings > dp->num_r_vecs) in nfp_net_irqs_assign() 447 dp->num_rx_rings, dp->num_tx_rings, in nfp_net_irqs_assign() 451 dp->num_tx_rings = min(dp->num_r_vecs, dp->num_tx_rings); in nfp_net_irqs_assign() 452 dp->num_stack_tx_rings = dp->num_tx_rings; in nfp_net_irqs_assign() 2453 dp->tx_rings = kcalloc(dp->num_tx_rings, sizeof(*dp->tx_rings), in nfp_net_tx_rings_prepare() 2458 for (r = 0; r < dp->num_tx_rings; r++) { in nfp_net_tx_rings_prepare() 2490 for (r = 0; r < dp->num_tx_rings; r++) { in nfp_net_tx_rings_free() 2615 r_vec->xdp_ring = idx < dp->num_tx_rings - dp->num_stack_tx_rings ? in nfp_net_vector_assign_rings() 2718 for (i = 0; i < nn->dp.num_tx_rings; i++) in nfp_net_coalesce_write_cfg() 2779 for (r = 0; r < nn->dp.num_tx_rings; r++) in nfp_net_clear_config_and_disable() [all …]
|
D | nfp_net.h | 527 unsigned int num_tx_rings; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
D | niu.c | 3737 for (i = 0; i < np->num_tx_rings; i++) { in niu_poll_core() 4089 for (i = 0; i < np->num_tx_rings; i++) { in niu_slowpath_interrupt() 4167 for (i = 0; i < np->num_tx_rings; i++) { in __niu_fastpath_interrupt() 4309 for (i = 0; i < np->num_tx_rings; i++) { in niu_free_channels() 4316 np->num_tx_rings = 0; in niu_free_channels() 4454 int num_rx_rings, num_tx_rings; in niu_alloc_channels() local 4467 num_tx_rings = parent->txchan_per_port[port]; in niu_alloc_channels() 4509 tx_rings = kcalloc(num_tx_rings, sizeof(struct tx_ring_info), in niu_alloc_channels() 4515 np->num_tx_rings = num_tx_rings; in niu_alloc_channels() 4519 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
|
/kernel/linux/linux-5.10/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() 5328 for (i = 0; i < bp->num_tx_rings; i++) in bnx2_init_all_rings() 5331 if (bp->num_tx_rings > 1) in bnx2_init_all_rings() 5332 BNX2_WR(bp, BNX2_TSCH_TSS_CFG, ((bp->num_tx_rings - 1) << 24) | in bnx2_init_all_rings() 5431 for (i = 0; i < bp->num_tx_rings; i++) { in bnx2_free_tx_skbs() 6346 bp->num_tx_rings = rounddown_pow_of_two(bp->irq_nvecs); in bnx2_setup_int_mode() 6348 bp->num_tx_rings = min(bp->irq_nvecs, bp->num_req_tx_rings); in bnx2_setup_int_mode() 6355 netif_set_real_num_tx_queues(bp->dev, bp->num_tx_rings); in bnx2_setup_int_mode() 7783 channels->tx_count = bp->num_tx_rings; in bnx2_get_channels()
|
D | bnx2.h | 6988 u8 num_tx_rings; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 655 req.num_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_cfg()
|
D | bnxt_hsi.h | 1173 __le16 num_tx_rings; member 1484 __le16 num_tx_rings; member
|
D | bnxt.c | 6081 req->num_tx_rings = cpu_to_le16(tx_rings); in __bnxt_hwrm_reserve_pf_rings() 6147 req->num_tx_rings = cpu_to_le16(tx_rings); in __bnxt_hwrm_reserve_vf_rings()
|