Home
last modified time | relevance | path

Searched refs:tx_desc_count (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c111 pdata->tx_desc_count = XLGMAC_TX_DESC_CNT; in xlgmac_init()
112 if (pdata->tx_desc_count & (pdata->tx_desc_count - 1)) { in xlgmac_init()
114 pdata->tx_desc_count); in xlgmac_init()
Ddwc-xlgmac-ethtool.c185 if (tx_frames > pdata->tx_desc_count) in xlgmac_ethtool_set_coalesce()
Ddwc-xlgmac.h568 unsigned int tx_desc_count; member
Ddwc-xlgmac-desc.c185 pdata->tx_desc_count); in xlgmac_alloc_rings()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c478 if (tx_frames > pdata->tx_desc_count) { in xgbe_set_coalesce()
480 pdata->tx_desc_count); in xgbe_set_coalesce()
633 ringparam->tx_pending = pdata->tx_desc_count; in xgbe_get_ringparam()
678 (tx == pdata->tx_desc_count)) in xgbe_set_ringparam()
682 pdata->tx_desc_count = tx; in xgbe_set_ringparam()
Dxgbe-main.c306 pdata->tx_desc_count = XGBE_TX_DESC_CNT; in xgbe_config_netdev()
Dxgbe-desc.c258 pdata->tx_desc_count); in xgbe_alloc_ring_resources()
Dxgbe.h1142 unsigned int tx_desc_count; member
/linux-6.1.9/drivers/net/ethernet/marvell/
Dpxa168_eth.c227 int tx_desc_count; member
710 while (pep->tx_desc_count > 0) { in txq_reclaim()
723 pep->tx_desc_count--; in txq_reclaim()
749 netdev_info(dev, "TX timeout desc_count %d\n", pep->tx_desc_count); in pxa168_eth_tx_timeout()
1091 pep->tx_desc_count = 0; in txq_init()
1219 pep->tx_desc_count++; in eth_alloc_tx_desc_index()
1238 && pep->tx_ring_size - pep->tx_desc_count > 1) { in pxa168_rx_poll()
1278 if (pep->tx_ring_size - pep->tx_desc_count <= 1) { in pxa168_eth_start_xmit()
Dmv643xx_eth.c344 int tx_desc_count; member
499 if (txq->tx_desc_count <= txq->tx_wake_threshold) in txq_maybe_wake()
828 if ((txq->tx_desc_count + tso_count_descs(skb)) >= txq->tx_ring_size) { in txq_submit_tso()
881 txq->tx_desc_count += desc_count; in txq_submit_tso()
942 if (txq->tx_ring_size - txq->tx_desc_count < MAX_SKB_FRAGS + 1) { in txq_submit_skb()
987 txq->tx_desc_count += nr_frags + 1; in txq_submit_skb()
1019 if (txq->tx_desc_count >= txq->tx_stop_threshold) in mv643xx_eth_xmit()
1065 while (reclaimed < budget && txq->tx_desc_count > 0) { in txq_reclaim()
1088 txq->tx_desc_count--; in txq_reclaim()
2052 txq->tx_desc_count = 0; in txq_init()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h266 int tx_desc_count; member
Dbcm63xx_enet.c436 while (priv->tx_desc_count < priv->tx_ring_size) { in bcm_enet_tx_reclaim()
463 priv->tx_desc_count++; in bcm_enet_tx_reclaim()
590 if (unlikely(!priv->tx_desc_count)) { in bcm_enet_start_xmit()
635 priv->tx_desc_count--; in bcm_enet_start_xmit()
646 if (!netdev_xmit_more() || !priv->tx_desc_count) in bcm_enet_start_xmit()
651 if (!priv->tx_desc_count) in bcm_enet_start_xmit()
991 priv->tx_desc_count = priv->tx_ring_size; in bcm_enet_open()
2162 priv->tx_desc_count = priv->tx_ring_size; in bcm_enetsw_open()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c610 ring->tx_pending = adapter->tx_desc_count; in iavf_get_ringparam()
655 if ((new_tx_count == adapter->tx_desc_count) && in iavf_set_ringparam()
661 if (new_tx_count != adapter->tx_desc_count) { in iavf_set_ringparam()
663 adapter->tx_desc_count, new_tx_count); in iavf_set_ringparam()
664 adapter->tx_desc_count = new_tx_count; in iavf_set_ringparam()
Diavf.h272 u32 tx_desc_count; member
Diavf_main.c1605 tx_ring->count = adapter->tx_desc_count; in iavf_alloc_queues()
2601 adapter->tx_desc_count = IAVF_DEFAULT_TXD; in iavf_init_config_adapter()
3378 adapter->tx_rings[i].count = adapter->tx_desc_count; in iavf_setup_all_tx_resources()
/linux-6.1.9/drivers/net/wireless/atmel/
Datmel.c484 u16 tx_desc_count; member
687 i < priv->host_info.tx_desc_count; in tx_done_irq()
703 if (priv->tx_desc_head < (priv->host_info.tx_desc_count - 1)) in tx_done_irq()
790 if (priv->tx_desc_tail < (priv->host_info.tx_desc_count - 1)) in tx_update_descriptor()
3652 iface->tx_desc_count = le16_to_cpu(iface->tx_desc_count); in atmel_wakeup_firmware()
3977 priv->tx_desc_free = priv->host_info.tx_desc_count; in reset_atmel_card()
/linux-6.1.9/drivers/net/ethernet/neterion/
Ds2io.c5471 int i, tx_desc_count = 0, rx_desc_count = 0; in s2io_ethtool_gringparam() local
5489 tx_desc_count += sp->config.tx_cfg[i].fifo_len; in s2io_ethtool_gringparam()
5490 ering->tx_pending = tx_desc_count; in s2io_ethtool_gringparam()