Searched refs:sw_tpd_next_to_clean (Results 1 - 1 of 1) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/atl1/
H A Datl1_main.c635 u16 sw_tpd_next_to_clean; local
639 sw_tpd_next_to_clean = atomic_read(&tpd_ring->next_to_clean);
642 while (cmb_tpd_next_to_clean != sw_tpd_next_to_clean) {
645 tpd = ATL1_TPD_DESC(tpd_ring, sw_tpd_next_to_clean);
646 buffer_info = &tpd_ring->buffer_info[sw_tpd_next_to_clean];
660 if (++sw_tpd_next_to_clean == tpd_ring->count)
661 sw_tpd_next_to_clean = 0;
663 atomic_set(&tpd_ring->next_to_clean, sw_tpd_next_to_clean);

Completed in 49 milliseconds