Searched refs:hw_kring (Results 1 – 1 of 1) sorted by relevance
1607 struct netmap_kring *hw_kring; in netmap_bwrap_notify() local1614 hw_kring = hwna->tx_rings[ring_n]; in netmap_bwrap_notify()1616 if (nm_kr_tryget(hw_kring, 0, NULL)) { in netmap_bwrap_notify()1626 hw_kring->nr_hwcur, hw_kring->nr_hwtail, hw_kring->rtail); in netmap_bwrap_notify()1630 hw_kring->rhead = hw_kring->rcur = kring->nr_hwtail; in netmap_bwrap_notify()1631 error = hw_kring->nm_sync(hw_kring, flags); in netmap_bwrap_notify()1637 kring->rhead = kring->rcur = nm_next(hw_kring->nr_hwtail, lim); /* skip past reserved slot */ in netmap_bwrap_notify()1645 hw_kring->nr_hwcur, hw_kring->nr_hwtail, hw_kring->rtail); in netmap_bwrap_notify()1647 nm_kr_put(hw_kring); in netmap_bwrap_notify()