X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/64da553dcc4e2219b24747ae452fa202861e0eac..68447568209bdfa2bcb169421e9bc3f2ec2033c3:/sys/dev/netif/emx/if_emx.h diff --git a/sys/dev/netif/emx/if_emx.h b/sys/dev/netif/emx/if_emx.h index 39eaf7da64..282cf5d1ae 100644 --- a/sys/dev/netif/emx/if_emx.h +++ b/sys/dev/netif/emx/if_emx.h @@ -235,6 +235,8 @@ struct emx_rxdata { struct emx_softc { struct arpcom arpcom; struct e1000_hw hw; + int flags; +#define EMX_FLAG_SHARED_INTR 0x1 /* DragonFly operating-system-specific structures. */ struct e1000_osdep osdep; @@ -344,7 +346,8 @@ struct emx_softc { #define EMX_TXDD_SAFE 48 /* 48 <= val < EMX_TXDD_MAX */ int tx_dd[EMX_TXDD_MAX]; - int rx_ring_inuse; + int rss_debug; + int rx_ring_cnt; struct emx_rxdata rx_data[EMX_NRX_RING]; /* Misc stats maintained by the driver */ @@ -359,21 +362,11 @@ struct emx_softc { unsigned long rx_irq; unsigned long tx_irq; unsigned long link_irq; - unsigned long tx_csum_try_pullup; - unsigned long tx_csum_pullup1; - unsigned long tx_csum_pullup1_failed; - unsigned long tx_csum_pullup2; - unsigned long tx_csum_pullup2_failed; - unsigned long tx_csum_drop1; - unsigned long tx_csum_drop2; /* sysctl tree glue */ struct sysctl_ctx_list sysctl_ctx; struct sysctl_oid *sysctl_tree; - int rx_ring_cnt; - int rss_debug; - struct e1000_hw_stats stats; };