Lines Matching defs:netmap_kring
410 struct netmap_kring { struct
411 struct netmap_ring *ring;
413 uint32_t nr_hwcur; /* should be nr_hwhead */
414 uint32_t nr_hwtail;
421 uint32_t rhead;
422 uint32_t rcur;
423 uint32_t rtail;
425 uint32_t nr_kflags; /* private driver flags */
438 uint32_t nr_mode;
439 uint32_t nr_pending_mode;
443 uint32_t nkr_num_slots;
457 int32_t nkr_hwofs;
458 int32_t nkr_to_refill;
464 uint64_t last_reclaim;
467 NM_SELINFO_T si; /* poll/select wait queue */
468 NM_LOCK_T q_lock; /* protects kring and ring. */
469 NM_ATOMIC_T nr_busy; /* prevent concurrent syscalls */
472 struct netmap_adapter *na;
478 struct netmap_adapter *notify_na;
481 struct nm_bdg_fwd *nkr_ft;
482 uint32_t *nkr_leases;
484 uint32_t nkr_hwlease;
485 uint32_t nkr_lease_idx;
516 * The default nm_kring_create callback (netmap_krings_create) argument
526 int (*nm_sync)(struct netmap_kring *kring, int flags); argument
527 int (*nm_notify)(struct netmap_kring *kring, int flags); argument
530 struct netmap_kring *pipe; /* if this is a pipe ring, argument
533 uint32_t pipe_tail; /* hwtail updated by the other end */
537 uint64_t offset_mask;
564 int (*nm_bufcfg)(struct netmap_kring *kring, uint64_t target); argument
566 int (*save_notify)(struct netmap_kring *kring, int flags); argument
570 struct netmap_kring **monitors; argument
584 int (*mon_sync)(struct netmap_kring *kring, int flags); argument
585 int (*mon_notify)(struct netmap_kring *kring, int flags); argument