Home
last modified time | relevance | path

Searched refs:TX_QUEUE_LEN (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/smsc/
H A Depic100.c54 #define TX_QUEUE_LEN 240 /* Limit ring entries actually used. */ macro
969 if (free_count < TX_QUEUE_LEN/2) {/* Typical path */ in epic_start_xmit()
971 } else if (free_count == TX_QUEUE_LEN/2) { in epic_start_xmit()
973 } else if (free_count < TX_QUEUE_LEN - 1) { in epic_start_xmit()
1063 if (ep->tx_full && cur_tx - dirty_tx < TX_QUEUE_LEN - 4) { in epic_tx()
/openbmc/linux/drivers/net/ethernet/dlink/
H A Ddl2k.h36 #define TX_QUEUE_LEN (TX_RING_SIZE - 1) /* Limit ring entries actually used.*/ macro
H A Dsundance.c66 #define TX_QUEUE_LEN (TX_RING_SIZE - 1) /* Limit ring entries actually used. */ macro
1005 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in tx_timeout()
1114 if (np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 1 && in start_tx()
1304 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in intr_handler()
H A Ddl2k.c756 < TX_QUEUE_LEN - 1 && np->speed != 10) { in start_xmit()
853 < TX_QUEUE_LEN - 1 || np->speed == 10)) { in rio_free_tx()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c103 #define TX_QUEUE_LEN 10 /* Limit ring entries actually used, min 4. */ macro
2119 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) { in start_tx()
2121 if (np->cur_tx - np->dirty_tx >= TX_QUEUE_LEN - 1) in start_tx()
2175 np->cur_tx - np->dirty_tx < TX_QUEUE_LEN - 4) { in netdev_tx_done()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c92 #define TX_QUEUE_LEN 10 /* Limit ring entries actually used. */ macro
1030 if (np->cur_tx - np->dirty_tx > TX_QUEUE_LEN || in start_tx()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c78 #define TX_QUEUE_LEN (TX_RING_SIZE - 6) /* Limit ring entries actually used. */ macro
1766 return (rp->cur_tx - rp->dirty_tx) >= TX_QUEUE_LEN; in rhine_tx_queue_full()