Lines Matching defs:netmap_kring
411 struct netmap_kring { struct
412 struct netmap_ring *ring;
414 uint32_t nr_hwcur; /* should be nr_hwhead */
415 uint32_t nr_hwtail;
422 uint32_t rhead;
423 uint32_t rcur;
424 uint32_t rtail;
426 uint32_t nr_kflags; /* private driver flags */
439 uint32_t nr_mode;
440 uint32_t nr_pending_mode;
444 uint32_t nkr_num_slots;
458 int32_t nkr_hwofs;
459 int32_t nkr_to_refill;
465 uint64_t last_reclaim;
468 NM_SELINFO_T si; /* poll/select wait queue */
469 NM_LOCK_T q_lock; /* protects kring and ring. */
470 NM_ATOMIC_T nr_busy; /* prevent concurrent syscalls */
473 struct netmap_adapter *na;
479 struct netmap_adapter *notify_na;
482 struct nm_bdg_fwd *nkr_ft;
483 uint32_t *nkr_leases;
485 uint32_t nkr_hwlease;
486 uint32_t nkr_lease_idx;
517 * The default nm_kring_create callback (netmap_krings_create) argument
527 int (*nm_sync)(struct netmap_kring *kring, int flags); argument
528 int (*nm_notify)(struct netmap_kring *kring, int flags); argument
531 struct netmap_kring *pipe; /* if this is a pipe ring, argument
534 uint32_t pipe_tail; /* hwtail updated by the other end */
538 uint64_t offset_mask;
565 int (*nm_bufcfg)(struct netmap_kring *kring, uint64_t target); argument
567 int (*save_notify)(struct netmap_kring *kring, int flags); argument
571 struct netmap_kring **monitors; argument
585 int (*mon_sync)(struct netmap_kring *kring, int flags); argument
586 int (*mon_notify)(struct netmap_kring *kring, int flags); argument