Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c402 pdata->tx_desc_count = XGBE_TX_DESC_CNT; in xgbe_probe()
403 if (pdata->tx_desc_count & (pdata->tx_desc_count - 1)) { in xgbe_probe()
405 pdata->tx_desc_count); in xgbe_probe()
Dxgbe-ethtool.c464 if (tx_frames > pdata->tx_desc_count) { in xgbe_set_coalesce()
466 pdata->tx_desc_count); in xgbe_set_coalesce()
Dxgbe.h807 unsigned int tx_desc_count; member
Dxgbe-desc.c234 pdata->tx_desc_count); in xgbe_alloc_ring_resources()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dpxa168_eth.c238 int tx_desc_count; member
724 while (pep->tx_desc_count > 0) { in txq_reclaim()
737 pep->tx_desc_count--; in txq_reclaim()
763 netdev_info(dev, "TX timeout desc_count %d\n", pep->tx_desc_count); in pxa168_eth_tx_timeout()
1110 pep->tx_desc_count = 0; in txq_init()
1242 pep->tx_desc_count++; in eth_alloc_tx_desc_index()
1261 && pep->tx_ring_size - pep->tx_desc_count > 1) { in pxa168_rx_poll()
1299 if (pep->tx_ring_size - pep->tx_desc_count <= 1) { in pxa168_eth_start_xmit()
Dmv643xx_eth.c358 int tx_desc_count; member
515 if (txq->tx_desc_count <= txq->tx_wake_threshold) in txq_maybe_wake()
848 if ((txq->tx_desc_count + tso_count_descs(skb)) >= txq->tx_ring_size) { in txq_submit_tso()
901 txq->tx_desc_count += desc_count; in txq_submit_tso()
962 if (txq->tx_ring_size - txq->tx_desc_count < MAX_SKB_FRAGS + 1) { in txq_submit_skb()
1007 txq->tx_desc_count += nr_frags + 1; in txq_submit_skb()
1039 if (txq->tx_desc_count >= txq->tx_stop_threshold) in mv643xx_eth_xmit()
1085 while (reclaimed < budget && txq->tx_desc_count > 0) { in txq_reclaim()
1108 txq->tx_desc_count--; in txq_reclaim()
2062 txq->tx_desc_count = 0; in txq_init()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c232 ring->tx_pending = adapter->tx_desc_count; in i40evf_get_ringparam()
263 if ((new_tx_count == adapter->tx_desc_count) && in i40evf_set_ringparam()
267 adapter->tx_desc_count = new_tx_count; in i40evf_set_ringparam()
Di40evf.h202 u32 tx_desc_count; member
Di40evf_main.c1150 tx_ring->count = adapter->tx_desc_count; in i40evf_alloc_queues()
1887 adapter->tx_rings[i]->count = adapter->tx_desc_count; in i40evf_setup_all_tx_resources()
2306 adapter->tx_desc_count = I40EVF_DEFAULT_TXD; in i40evf_init_task()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h263 int tx_desc_count; member
Dbcm63xx_enet.c438 while (priv->tx_desc_count < priv->tx_ring_size) { in bcm_enet_tx_reclaim()
465 priv->tx_desc_count++; in bcm_enet_tx_reclaim()
588 if (unlikely(!priv->tx_desc_count)) { in bcm_enet_start_xmit()
634 priv->tx_desc_count--; in bcm_enet_start_xmit()
647 if (!priv->tx_desc_count) in bcm_enet_start_xmit()
978 priv->tx_desc_count = priv->tx_ring_size; in bcm_enet_open()
2204 priv->tx_desc_count = priv->tx_ring_size; in bcm_enetsw_open()
/linux-4.4.14/drivers/net/wireless/
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()
3678 iface->tx_desc_count = le16_to_cpu(iface->tx_desc_count); in atmel_wakeup_firmware()
3998 priv->tx_desc_free = priv->host_info.tx_desc_count; in reset_atmel_card()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c5507 int i, tx_desc_count = 0, rx_desc_count = 0; in s2io_ethtool_gringparam() local
5525 tx_desc_count += sp->config.tx_cfg[i].fifo_len; in s2io_ethtool_gringparam()
5526 ering->tx_pending = tx_desc_count; in s2io_ethtool_gringparam()