Home
last modified time | relevance | path

Searched refs:tx_queue_cnt (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/dec/tulip/
Ddmfe.c230 unsigned long tx_queue_cnt; /* wait to send packet count */ member
559 db->tx_queue_cnt = 0; in dmfe_open()
690 if (db->tx_queue_cnt >= TX_FREE_DESC_CNT) { in dmfe_start_xmit()
692 pr_err("No Tx resource %ld\n", db->tx_queue_cnt); in dmfe_start_xmit()
708 if ( (!db->tx_queue_cnt) && (db->tx_packet_cnt < TX_MAX_SEND_CNT) ) { in dmfe_start_xmit()
714 db->tx_queue_cnt++; /* queue TX packet */ in dmfe_start_xmit()
719 if ( db->tx_queue_cnt < TX_FREE_DESC_CNT ) in dmfe_start_xmit()
913 if ( (db->tx_packet_cnt < TX_MAX_SEND_CNT) && db->tx_queue_cnt ) { in dmfe_free_tx_pkt()
916 db->tx_queue_cnt--; in dmfe_free_tx_pkt()
922 if ( db->tx_queue_cnt < TX_WAKE_DESC_CNT ) in dmfe_free_tx_pkt()
[all …]
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c1244 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in stmmac_clear_descriptors() local
1252 for (queue = 0; queue < tx_queue_cnt; queue++) in stmmac_clear_descriptors()
1432 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in init_dma_tx_desc_rings() local
1436 for (queue = 0; queue < tx_queue_cnt; queue++) { in init_dma_tx_desc_rings()
1542 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in stmmac_free_tx_skbufs() local
1545 for (queue = 0; queue < tx_queue_cnt; queue++) in stmmac_free_tx_skbufs()