diff options
author | Jack F Vogel <jfv@FreeBSD.org> | 2015-03-18 20:11:59 +0000 |
---|---|---|
committer | Jack F Vogel <jfv@FreeBSD.org> | 2015-03-18 20:11:59 +0000 |
commit | bff38d637c8024f84d6c8053be33b3e09df94096 (patch) | |
tree | 23e27ae7a1c3627393e077d3eb5e28ad2e5eb314 /sys/dev/ixgbe | |
parent | 1aa7c60ccd9b0dac09bae9090a20c2f97f816ff7 (diff) | |
download | src-bff38d637c8024f84d6c8053be33b3e09df94096.tar.gz src-bff38d637c8024f84d6c8053be33b3e09df94096.zip |
Notes
Diffstat (limited to 'sys/dev/ixgbe')
-rw-r--r-- | sys/dev/ixgbe/if_ixv.c | 6 | ||||
-rw-r--r-- | sys/dev/ixgbe/ixgbe.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c index f1b759eab1ac..672077b78b6d 100644 --- a/sys/dev/ixgbe/if_ixv.c +++ b/sys/dev/ixgbe/if_ixv.c @@ -1979,13 +1979,13 @@ ixv_add_stats_sysctls(struct adapter *adapter) struct sysctl_oid_list *stat_list, *queue_list; /* Driver Statistics */ - SYSCTL_ADD_UQUAD(ctx, child, OID_AUTO, "dropped", + SYSCTL_ADD_ULONG(ctx, child, OID_AUTO, "dropped", CTLFLAG_RD, &adapter->dropped_pkts, "Driver dropped packets"); - SYSCTL_ADD_UQUAD(ctx, child, OID_AUTO, "mbuf_defrag_failed", + SYSCTL_ADD_ULONG(ctx, child, OID_AUTO, "mbuf_defrag_failed", CTLFLAG_RD, &adapter->mbuf_defrag_failed, "m_defrag() failed"); - SYSCTL_ADD_UQUAD(ctx, child, OID_AUTO, "watchdog_events", + SYSCTL_ADD_ULONG(ctx, child, OID_AUTO, "watchdog_events", CTLFLAG_RD, &adapter->watchdog_events, "Watchdog timeouts"); diff --git a/sys/dev/ixgbe/ixgbe.h b/sys/dev/ixgbe/ixgbe.h index e0680f1359cf..813ee4f54130 100644 --- a/sys/dev/ixgbe/ixgbe.h +++ b/sys/dev/ixgbe/ixgbe.h @@ -323,9 +323,8 @@ struct tx_ring { u32 bytes; /* used for AIM */ u32 packets; /* Soft Stats */ - unsigned long tx_bytes; + u64 tx_bytes; unsigned long tso_tx; - unsigned long no_tx_map_avail; unsigned long no_tx_dma_setup; u64 no_desc_avail; u64 total_packets; |