Home
last modified time | relevance | path

Searched refs:shadow_ring (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap_kloop.c95 struct netmap_ring *shadow_ring, in sync_kloop_kernel_read() argument
103 CSB_READ(ptr, head, shadow_ring->head); in sync_kloop_kernel_read()
105 CSB_READ(ptr, cur, shadow_ring->cur); in sync_kloop_kernel_read()
106 CSB_READ(ptr, sync_flags, shadow_ring->flags); in sync_kloop_kernel_read()
164 struct netmap_ring shadow_ring; /* shadow copy of the netmap_ring */ in netmap_sync_kloop_tx_ring() local
182 sync_kloop_kernel_read(csb_atok, &shadow_ring, num_slots); in netmap_sync_kloop_tx_ring()
185 batch = shadow_ring.head - kring->nr_hwcur; in netmap_sync_kloop_tx_ring()
197 nm_prdis(1, "batch: %d head: %d head_lim: %d", batch, shadow_ring.head, in netmap_sync_kloop_tx_ring()
199 shadow_ring.head = head_lim; in netmap_sync_kloop_tx_ring()
205 shadow_ring.flags |= NAF_FORCE_RECLAIM; in netmap_sync_kloop_tx_ring()
[all …]