Lines Matching defs:ring
97 * Reconcile kernel and user view of the transmit ring.
104 struct netmap_ring *ring = kring->ring;
105 u_int nm_i; /* index into the netmap ring */
106 u_int nic_i; /* index into the NIC ring */
109 /* generate an interrupt approximately every half ring */
126 struct netmap_slot *slot = &ring->slot[nm_i];
147 /* Fill the slot in the NIC ring. */
160 /* synchronize the NIC ring */
188 * Reconcile kernel and user view of the receive ring.
195 struct netmap_ring *ring = kring->ring;
196 u_int nm_i; /* index into the netmap ring */
197 u_int nic_i; /* index into the NIC ring */
232 ring->slot[nm_i].len = len;
233 ring->slot[nm_i].flags = 0;
260 struct netmap_slot *slot = &ring->slot[nm_i];
286 * IMPORTANT: we must leave one free slot in the ring,