summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgbe
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2015-03-18 20:11:59 +0000
committerjfv <jfv@FreeBSD.org>2015-03-18 20:11:59 +0000
commit86edfc3fbee5ced122795b493451463fa2c1dddf (patch)
tree23e27ae7a1c3627393e077d3eb5e28ad2e5eb314 /sys/dev/ixgbe
parent834671c372178eb341ddb6b91e8fffc6eb3f5d52 (diff)
downloadFreeBSD-src-86edfc3fbee5ced122795b493451463fa2c1dddf.zip
FreeBSD-src-86edfc3fbee5ced122795b493451463fa2c1dddf.tar.gz
Fix i386 LINT build issues, and remove unused variable.
Diffstat (limited to 'sys/dev/ixgbe')
-rw-r--r--sys/dev/ixgbe/if_ixv.c6
-rw-r--r--sys/dev/ixgbe/ixgbe.h3
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c
index f1b759e..672077b 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 e0680f1..813ee4f 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;
OpenPOWER on IntegriCloud