aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be.h
diff options
context:
space:
mode:
authorKalesh AP <kalesh.purayil@emulex.com>2014-09-02 00:26:49 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-02 15:45:59 -0400
commit512bb8a244d2854953c65c0b36b0d0812fced7d5 (patch)
treed70abf9e64dda09dc13dd2be73cea6c45e7fcb1a /drivers/net/ethernet/emulex/benet/be.h
parentacbd6ff833da9d84e6596bfc94c5605a9c5b66da (diff)
be2net: Add TX completion error statistics in ethtool
HW reports TX completion errors in TX completion. This patch adds these counters to ethtool statistics. Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r--drivers/net/ethernet/emulex/benet/be.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h
index d9cd88576ffa..d491ac614dcf 100644
--- a/drivers/net/ethernet/emulex/benet/be.h
+++ b/drivers/net/ethernet/emulex/benet/be.h
@@ -248,6 +248,13 @@ struct be_tx_stats {
248 ulong tx_jiffies; 248 ulong tx_jiffies;
249 u32 tx_stops; 249 u32 tx_stops;
250 u32 tx_drv_drops; /* pkts dropped by driver */ 250 u32 tx_drv_drops; /* pkts dropped by driver */
251 /* the error counters are described in be_ethtool.c */
252 u32 tx_hdr_parse_err;
253 u32 tx_dma_err;
254 u32 tx_tso_err;
255 u32 tx_spoof_check_err;
256 u32 tx_qinq_err;
257 u32 tx_internal_parity_err;
251 struct u64_stats_sync sync; 258 struct u64_stats_sync sync;
252 struct u64_stats_sync sync_compl; 259 struct u64_stats_sync sync_compl;
253}; 260};