diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-10-24 07:53:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-24 22:40:14 (GMT) |
commit | 48855432047c9de7ea9987349de4c47d48ade8d1 (patch) | |
tree | 6c6d7d05c62f3426e288089bbeb33a1f45520b07 /drivers/net/ethernet/broadcom/tg3.h | |
parent | 752961a11e847e604aeaaa798cac438c1e671ba4 (diff) | |
download | linux-48855432047c9de7ea9987349de4c47d48ade8d1.tar.xz |
|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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h index d2976f3..f32f288 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; |