aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-10-24 07:53:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-24 18:40:14 -0400
commit48855432047c9de7ea9987349de4c47d48ade8d1 (patch)
tree6c6d7d05c62f3426e288089bbeb33a1f45520b07 /drivers/net/ethernet/broadcom/tg3.h
parent752961a11e847e604aeaaa798cac438c1e671ba4 (diff)
downloadvexpress-lsk-48855432047c9de7ea9987349de4c47d48ade8d1.tar.gz
|PATCH net-next] tg3: add tx_dropped counter
If a frame cant be transmitted, it is silently discarded. Add a counter to report these errors to user. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
index d2976f39b2f..f32f288134c 100644
--- a/drivers/net/ethernet/broadcom/tg3.h
+++ b/drivers/net/ethernet/broadcom/tg3.h
@@ -2990,6 +2990,7 @@ struct tg3 {
/* begin "everything else" cacheline(s) section */
unsigned long rx_dropped;
+ unsigned long tx_dropped;
struct rtnl_link_stats64 net_stats_prev;
struct tg3_ethtool_stats estats;
struct tg3_ethtool_stats estats_prev;