summaryrefslogtreecommitdiffstats
path: root/sys/dev/mxge/if_mxge_var.h
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2009-06-23 19:04:25 +0000
committergallatin <gallatin@FreeBSD.org>2009-06-23 19:04:25 +0000
commit7e640cb24d1217cc1af305b327cab9f174ef4d1e (patch)
treee4b6f6ff3b30af6c9673e10f705cfbc66cc74750 /sys/dev/mxge/if_mxge_var.h
parent00b1736179cb768c13155521c0feb67253b2826a (diff)
downloadFreeBSD-src-7e640cb24d1217cc1af305b327cab9f174ef4d1e.zip
FreeBSD-src-7e640cb24d1217cc1af305b327cab9f174ef4d1e.tar.gz
Revert most of 193311 so as to track mxge transmit stats
on a per-ring basis and avoid racy (and costly) updates to the ifp stats via drbr by defining NO_SLOW_STATS Discussed with: kmacy
Diffstat (limited to 'sys/dev/mxge/if_mxge_var.h')
-rw-r--r--sys/dev/mxge/if_mxge_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mxge/if_mxge_var.h b/sys/dev/mxge/if_mxge_var.h
index 8240b62..8d1da2e 100644
--- a/sys/dev/mxge/if_mxge_var.h
+++ b/sys/dev/mxge/if_mxge_var.h
@@ -196,6 +196,8 @@ struct mxge_slice_state {
volatile uint32_t *irq_claim;
u_long ipackets;
u_long opackets;
+ u_long obytes;
+ u_long omcasts;
u_long oerrors;
int if_drv_flags;
struct lro_head lro_active;
OpenPOWER on IntegriCloud