Lines Matching refs:cur_tx
544 unsigned int cur_tx, dirty_tx, reap_tx; member
1124 np->cur_rx = np->cur_tx = np->reap_tx = 0; in init_ring()
1182 if ((np->cur_tx - np->dirty_tx) + skb_num_frags(skb) * 2 > TX_RING_SIZE) { in start_tx()
1194 prev_tx = np->cur_tx; in start_tx()
1195 entry = np->cur_tx % TX_RING_SIZE; in start_tx()
1239 dev->name, np->cur_tx, np->dirty_tx, in start_tx()
1243 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1247 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()
1251 if (np->cur_tx % (TX_RING_SIZE / 2) == 0) in start_tx()
1264 if ((np->cur_tx - np->dirty_tx) + 4 > TX_RING_SIZE) in start_tx()
1287 np->cur_tx = prev_tx; in start_tx()
1383 (np->cur_tx - np->dirty_tx + 4 < TX_RING_SIZE)) { in intr_handler()
1931 dev->name, np->cur_tx, np->dirty_tx, in netdev_close()