Lines Matching defs:netmap_kring
423 struct netmap_kring { struct
424 struct netmap_ring *ring;
426 uint32_t nr_hwcur; /* should be nr_hwhead */
427 uint32_t nr_hwtail;
434 uint32_t rhead;
435 uint32_t rcur;
436 uint32_t rtail;
438 uint32_t nr_kflags; /* private driver flags */
451 uint32_t nr_mode;
452 uint32_t nr_pending_mode;
456 uint32_t nkr_num_slots;
463 int32_t nkr_hwofs;
469 uint64_t last_reclaim;
472 NM_SELINFO_T si; /* poll/select wait queue */
473 NM_LOCK_T q_lock; /* protects kring and ring. */
474 NM_ATOMIC_T nr_busy; /* prevent concurrent syscalls */
477 struct netmap_adapter *na;
483 struct netmap_adapter *notify_na;
486 struct nm_bdg_fwd *nkr_ft;
487 uint32_t *nkr_leases;
489 uint32_t nkr_hwlease;
490 uint32_t nkr_lease_idx;
518 * The default nm_kring_create callback (netmap_krings_create) argument
528 int (*nm_sync)(struct netmap_kring *kring, int flags); argument
529 int (*nm_notify)(struct netmap_kring *kring, int flags); argument
532 struct netmap_kring *pipe; /* if this is a pipe ring, argument
538 int (*save_notify)(struct netmap_kring *kring, int flags); argument
542 struct netmap_kring **monitors; argument
556 int (*mon_sync)(struct netmap_kring *kring, int flags); argument
557 int (*mon_notify)(struct netmap_kring *kring, int flags); argument