Lines Matching defs:netmap_kring
424 struct netmap_kring { struct
425 struct netmap_ring *ring;
427 uint32_t nr_hwcur; /* should be nr_hwhead */
428 uint32_t nr_hwtail;
435 uint32_t rhead;
436 uint32_t rcur;
437 uint32_t rtail;
439 uint32_t nr_kflags; /* private driver flags */
452 uint32_t nr_mode;
453 uint32_t nr_pending_mode;
457 uint32_t nkr_num_slots;
464 int32_t nkr_hwofs;
470 uint64_t last_reclaim;
473 NM_SELINFO_T si; /* poll/select wait queue */
474 NM_LOCK_T q_lock; /* protects kring and ring. */
475 NM_ATOMIC_T nr_busy; /* prevent concurrent syscalls */
478 struct netmap_adapter *na;
484 struct netmap_adapter *notify_na;
487 struct nm_bdg_fwd *nkr_ft;
488 uint32_t *nkr_leases;
490 uint32_t nkr_hwlease;
491 uint32_t nkr_lease_idx;
519 * The default nm_kring_create callback (netmap_krings_create) argument
529 int (*nm_sync)(struct netmap_kring *kring, int flags); argument
530 int (*nm_notify)(struct netmap_kring *kring, int flags); argument
533 struct netmap_kring *pipe; /* if this is a pipe ring, argument
539 int (*save_notify)(struct netmap_kring *kring, int flags); argument
543 struct netmap_kring **monitors; argument
557 int (*mon_sync)(struct netmap_kring *kring, int flags); argument
558 int (*mon_notify)(struct netmap_kring *kring, int flags); argument