Lines Matching defs:ring
81 * Reconcile kernel and user view of the transmit ring.
88 struct netmap_ring *ring = kring->ring;
89 u_int nm_i; /* index into the netmap ring */
90 u_int nic_i; /* index into the NIC ring */
94 /* generate an interrupt approximately every half ring */
115 struct netmap_slot *slot = &ring->slot[nm_i];
136 /* Fill the slot in the NIC ring. */
161 /* 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 */
227 ring->slot[nm_i].len = le16toh(curr->wb.upper.length);
228 ring->slot[nm_i].flags = 0;
248 struct netmap_slot *slot = &ring->slot[nm_i];
275 * IMPORTANT: we must leave one free slot in the ring,