Searched refs:hwtail (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/sys/net/ |
H A D | netmap.h | 769 uint32_t hwtail; /* AR+ KW+ the hwtail of the kern netmap_kring */ member in struct:nm_csb_ktoa 855 /* Application side of sync-kloop: Read kring pointers (hwcur, hwtail) from 858 nm_sync_kloop_appl_read(struct nm_csb_ktoa *ktoa, uint32_t *hwtail, argument 862 * We place a memory barrier to make sure that the update of hwtail never 866 *hwtail = ktoa->hwtail; 870 /* Make sure that loads from ktoa->hwtail and ktoa->hwcur are not delayed
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_kloop.c | 63 /* Write kring pointers (hwcur, hwtail) to the CSB. 67 uint32_t hwtail) 70 * netmap ring do not overcome updates on ktoa->hwcur and ktoa->hwtail. */ 76 * of hwtail, since this would anyway result in a consistent view of the 77 * ring state (and hwcur can never wraparound hwtail, since hwcur must be 84 * STORE(hwcur) LOAD(hwtail) 86 * STORE(hwtail) LOAD(hwcur) 90 CSB_WRITE(ptr, hwtail, hwtail); 139 "rcur %d, rtail %d, hwtail 66 sync_kloop_kernel_write(struct nm_csb_ktoa __user *ptr, uint32_t hwcur, uint32_t hwtail) argument 340 uint32_t hwtail; local [all...] |
H A D | netmap.c | 1624 * rhead, rcur and rtail=hwtail are stored from previous round. 1628 * hwcur <= *rhead <= head <= cur <= tail = *rtail <= hwtail 1630 * hwcur, rhead, rtail and hwtail are reliable 1690 * hwcur <= head <= cur <= tail <= hwtail 1693 * hwcur and hwtail are reliable. 1720 /* want hwcur <= rhead <= hwtail */ 1722 /* and also rhead <= rcur <= hwtail */ 1725 /* we need rhead outside hwtail..hwcur */ 1727 /* two cases now: head <= hwtail or head >= hwcur */ 1729 /* want head <= cur <= hwtail */ [all...] |
Completed in 71 milliseconds