Lines Matching defs:TX_RING_SIZE
131 #define TX_RING_SIZE 32
234 RX/TX_RING_SIZE pay close attention to page sizes and the ring-empty warning
553 struct tx_ring_info tx_info[TX_RING_SIZE];
943 tx_ring_size = ((sizeof(starfire_tx_desc) * TX_RING_SIZE + QUEUE_ALIGN - 1) / QUEUE_ALIGN) * QUEUE_ALIGN;
1219 for (i = 0; i < TX_RING_SIZE; i++)
1235 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) {
1247 entry = np->cur_tx % TX_RING_SIZE;
1255 if (entry >= TX_RING_SIZE - skb_num_frags(skb)) {
1285 np->tx_info[entry].used_slots = TX_RING_SIZE - entry;
1293 /* scavenge the tx descriptors twice per TX_RING_SIZE */
1294 if (np->cur_tx % (TX_RING_SIZE / 2) == 0)
1307 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE)
1385 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE;
1406 (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) {
1959 for (i = 0; i < 8 /* TX_RING_SIZE is huge! */; i++)
1985 for (i = 0; i < TX_RING_SIZE; i++) {