Lines Matching defs:ring
113 * Reconcile kernel and user view of the transmit ring.
120 struct netmap_ring *ring = kring->ring;
121 u_int nm_i; /* index into the netmap ring */
122 u_int nic_i; /* index into the NIC ring */
126 /* generate an interrupt approximately every half ring */
144 struct netmap_slot *slot = &ring->slot[nm_i];
165 /* Fill the slot in the NIC ring. */
177 /* synchronize the NIC ring */
206 * Reconcile kernel and user view of the receive ring.
213 struct netmap_ring *ring = kring->ring;
214 u_int nm_i; /* index into the netmap ring */
215 u_int nic_i; /* index into the NIC ring */
245 ring->slot[nm_i].len = le16toh(curr->wb.upper.length);
246 ring->slot[nm_i].flags = 0;
268 struct netmap_slot *slot = &ring->slot[nm_i];
295 * IMPORTANT: we must leave one free slot in the ring,