Lines Matching defs:netmap_kring
159 struct netmap_kring { struct
160 struct netmap_ring *ring;
161 uint32_t nr_hwcur;
162 uint32_t nr_hwavail;
163 uint32_t nr_kflags; /* private driver flags */
164 int32_t nr_hwreserved;
166 uint32_t nkr_num_slots;
167 int32_t nkr_hwofs; /* offset between NIC and netmap ring */
169 uint16_t nkr_slot_flags; /* initial value for flags */
170 struct netmap_adapter *na;
171 struct nm_bdg_fwd *nkr_ft;
172 uint32_t *nkr_leases;
174 uint32_t nkr_hwlease;
175 uint32_t nkr_lease_idx;
177 NM_SELINFO_T si; /* poll/select wait queue */
178 NM_LOCK_T q_lock; /* protects kring and ring. */
179 NM_ATOMIC_T nr_busy; /* prevent concurrent syscalls */
181 volatile int nkr_stopped;
189 struct mbuf **tx_pool;
190 u_int nr_ntc; /* Emulation of a next-to-clean RX ring pointer. */
191 struct mbq rx_queue; /* A queue for intercepted rx mbufs. */