Home
last modified time | relevance | path

Searched refs:tx_desc_count (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c595 ring->tx_pending = adapter->tx_desc_count; in iavf_get_ringparam()
636 if ((new_tx_count == adapter->tx_desc_count) && in iavf_set_ringparam()
642 if (new_tx_count != adapter->tx_desc_count) { in iavf_set_ringparam()
644 adapter->tx_desc_count, new_tx_count); in iavf_set_ringparam()
645 adapter->tx_desc_count = new_tx_count; in iavf_set_ringparam()
H A Diavf.h247 u32 tx_desc_count; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c481 if (tx_frames > pdata->tx_desc_count) { in xgbe_set_coalesce()
483 pdata->tx_desc_count); in xgbe_set_coalesce()
633 ringparam->tx_pending = pdata->tx_desc_count; in xgbe_get_ringparam()
676 (tx == pdata->tx_desc_count)) in xgbe_set_ringparam()
680 pdata->tx_desc_count = tx; in xgbe_set_ringparam()
H A Dxgbe-main.c306 pdata->tx_desc_count = XGBE_TX_DESC_CNT; in xgbe_config_netdev()
H A Dxgbe-desc.c258 pdata->tx_desc_count); in xgbe_alloc_ring_resources()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
H A 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()
1092 pep->tx_desc_count = 0; in txq_init()
1220 pep->tx_desc_count++; in eth_alloc_tx_desc_index()
1239 && pep->tx_ring_size - pep->tx_desc_count > 1) { in pxa168_rx_poll()
1279 if (pep->tx_ring_size - pep->tx_desc_count <= 1) { in pxa168_eth_start_xmit()
H A Dmv643xx_eth.c344 int tx_desc_count; member
499 if (txq->tx_desc_count <= txq->tx_wake_threshold) in txq_maybe_wake()
826 if ((txq->tx_desc_count + tso_count_descs(skb)) >= txq->tx_ring_size) { in txq_submit_tso()
879 txq->tx_desc_count += desc_count; in txq_submit_tso()
940 if (txq->tx_ring_size - txq->tx_desc_count < MAX_SKB_FRAGS + 1) { in txq_submit_skb()
985 txq->tx_desc_count += nr_frags + 1; in txq_submit_skb()
1017 if (txq->tx_desc_count >= txq->tx_stop_threshold) in mv643xx_eth_xmit()
1063 while (reclaimed < budget && txq->tx_desc_count > 0) { in txq_reclaim()
1086 txq->tx_desc_count--; in txq_reclaim()
2042 txq->tx_desc_count in txq_init()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/
H A 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()
H A Dmv643xx_eth.c345 int tx_desc_count; member
500 if (txq->tx_desc_count <= txq->tx_wake_threshold) in txq_maybe_wake()
829 if ((txq->tx_desc_count + tso_count_descs(skb)) >= txq->tx_ring_size) { in txq_submit_tso()
882 txq->tx_desc_count += desc_count; in txq_submit_tso()
943 if (txq->tx_ring_size - txq->tx_desc_count < MAX_SKB_FRAGS + 1) { in txq_submit_skb()
988 txq->tx_desc_count += nr_frags + 1; in txq_submit_skb()
1020 if (txq->tx_desc_count >= txq->tx_stop_threshold) in mv643xx_eth_xmit()
1066 while (reclaimed < budget && txq->tx_desc_count > 0) { in txq_reclaim()
1089 txq->tx_desc_count--; in txq_reclaim()
2053 txq->tx_desc_count in txq_init()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c107 * pdata->tx_desc_count; in xlgmac_init()
111 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()
H A Ddwc-xlgmac-ethtool.c179 if (tx_frames > pdata->tx_desc_count) in xlgmac_ethtool_set_coalesce()
H A Ddwc-xlgmac.h567 unsigned int tx_desc_count; member
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c107 * pdata->tx_desc_count; in xlgmac_init()
111 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()
H A Ddwc-xlgmac-ethtool.c185 if (tx_frames > pdata->tx_desc_count) in xlgmac_ethtool_set_coalesce()
H A Ddwc-xlgmac.h568 unsigned int tx_desc_count; member
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c483 if (tx_frames > pdata->tx_desc_count) { in xgbe_set_coalesce()
485 pdata->tx_desc_count); in xgbe_set_coalesce()
638 ringparam->tx_pending = pdata->tx_desc_count; in xgbe_get_ringparam()
683 (tx == pdata->tx_desc_count)) in xgbe_set_ringparam()
687 pdata->tx_desc_count = tx; in xgbe_set_ringparam()
H A Dxgbe-main.c306 pdata->tx_desc_count = XGBE_TX_DESC_CNT; in xgbe_config_netdev()
H A Dxgbe-desc.c258 pdata->tx_desc_count); in xgbe_alloc_ring_resources()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.h260 int tx_desc_count; member
H A Dbcm63xx_enet.c421 while (priv->tx_desc_count < priv->tx_ring_size) { in bcm_enet_tx_reclaim()
448 priv->tx_desc_count++; in bcm_enet_tx_reclaim()
572 if (unlikely(!priv->tx_desc_count)) { in bcm_enet_start_xmit()
617 priv->tx_desc_count--; in bcm_enet_start_xmit()
630 if (!priv->tx_desc_count) in bcm_enet_start_xmit()
952 priv->tx_desc_count = priv->tx_ring_size; in bcm_enet_open()
2134 priv->tx_desc_count = priv->tx_ring_size; in bcm_enetsw_open()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.h266 int tx_desc_count; member
H A 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()
2161 priv->tx_desc_count = priv->tx_ring_size; in bcm_enetsw_open()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c613 ring->tx_pending = adapter->tx_desc_count; in iavf_get_ringparam()
659 if ((new_tx_count == adapter->tx_desc_count) && in iavf_set_ringparam()
665 if (new_tx_count != adapter->tx_desc_count) { in iavf_set_ringparam()
667 adapter->tx_desc_count, new_tx_count); in iavf_set_ringparam()
668 adapter->tx_desc_count = new_tx_count; in iavf_set_ringparam()
H A Diavf.h278 u32 tx_desc_count; member
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
H A Datmel.c485 u16 tx_desc_count; member
688 i < priv->host_info.tx_desc_count; in tx_done_irq()
704 if (priv->tx_desc_head < (priv->host_info.tx_desc_count - 1)) in tx_done_irq()
791 if (priv->tx_desc_tail < (priv->host_info.tx_desc_count - 1)) in tx_update_descriptor()
3653 iface->tx_desc_count = le16_to_cpu(iface->tx_desc_count); in atmel_wakeup_firmware()
3973 priv->tx_desc_free = priv->host_info.tx_desc_count; in reset_atmel_card()

Completed in 40 milliseconds

12