- boolean_t net_affinity; /* affinity set is available */
- struct thread *input_thr; /* input thread */
- struct thread *wloop_thr; /* workloop thread */
- struct thread *poll_thr; /* poll thread */
- u_int32_t tag; /* affinity tag */
- /*
- * Opportunistic polling.
- */
- ifnet_model_t mode; /* current mode */
- struct pktcntr tstats; /* incremental polling statistics */
- struct if_rxpoll_stats pstats; /* polling statistics */
-#define rxpoll_offreq pstats.ifi_poll_off_req
-#define rxpoll_offerr pstats.ifi_poll_off_err
-#define rxpoll_onreq pstats.ifi_poll_on_req
-#define rxpoll_onerr pstats.ifi_poll_on_err
-#define rxpoll_wavg pstats.ifi_poll_wakeups_avg
-#define rxpoll_wlowat pstats.ifi_poll_wakeups_lowat
-#define rxpoll_whiwat pstats.ifi_poll_wakeups_hiwat
-#define rxpoll_pavg pstats.ifi_poll_packets_avg
-#define rxpoll_pmin pstats.ifi_poll_packets_min
-#define rxpoll_pmax pstats.ifi_poll_packets_max
-#define rxpoll_plowat pstats.ifi_poll_packets_lowat
-#define rxpoll_phiwat pstats.ifi_poll_packets_hiwat
-#define rxpoll_bavg pstats.ifi_poll_bytes_avg
-#define rxpoll_bmin pstats.ifi_poll_bytes_min
-#define rxpoll_bmax pstats.ifi_poll_bytes_max
-#define rxpoll_blowat pstats.ifi_poll_bytes_lowat
-#define rxpoll_bhiwat pstats.ifi_poll_bytes_hiwat
-#define rxpoll_plim pstats.ifi_poll_packets_limit
-#define rxpoll_ival pstats.ifi_poll_interval_time
- struct pktcntr sstats; /* packets and bytes per sampling */
- struct timespec mode_holdtime; /* mode holdtime in nsec */
- struct timespec mode_lasttime; /* last mode change time in nsec */
- struct timespec sample_holdtime; /* sampling holdtime in nsec */
- struct timespec sample_lasttime; /* last sampling time in nsec */
- struct timespec dbg_lasttime; /* last debug message time in nsec */
+ boolean_t dlth_affinity; /* affinity set is available */
+ uint32_t dlth_affinity_tag; /* affinity tag */
+ struct thread *dlth_thread; /* DLIL worker thread */
+ struct thread *dlth_driver_thread; /* driver/workloop thread */
+ struct thread *dlth_poller_thread; /* poll thread */
+
+ lck_grp_t *dlth_lock_grp; /* lock group (for lock stats) */
+ char dlth_name[DLIL_THREADNAME_LEN]; /* name storage */
+