aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAjit Khaparde <ajitk@serverengines.com>2010-08-24 20:32:56 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-25 19:41:26 -0400
commitdef824c0d4902d27c52f17d267af8bc648d29e16 (patch)
tree0da2867aad203199243d3d3720ade5a6465a8df8 /drivers/net
parent6d87f5c3ac5856bf1309700e2f15e2e7fcd3c578 (diff)
be2net: stats for packets received due to internal switching in ASIC.
Counters for packets received due to internal switching are already available. This change will start displaying them in ethtool -S Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/benet/be_ethtool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/benet/be_ethtool.c b/drivers/net/benet/be_ethtool.c
index cd16243c7c36..9bedb9ff6e12 100644
--- a/drivers/net/benet/be_ethtool.c
+++ b/drivers/net/benet/be_ethtool.c
@@ -90,6 +90,9 @@ static const struct be_ethtool_stat et_stats[] = {
90 {PORTSTAT_INFO(rx_non_rss_packets)}, 90 {PORTSTAT_INFO(rx_non_rss_packets)},
91 {PORTSTAT_INFO(rx_ipv4_packets)}, 91 {PORTSTAT_INFO(rx_ipv4_packets)},
92 {PORTSTAT_INFO(rx_ipv6_packets)}, 92 {PORTSTAT_INFO(rx_ipv6_packets)},
93 {PORTSTAT_INFO(rx_switched_unicast_packets)},
94 {PORTSTAT_INFO(rx_switched_multicast_packets)},
95 {PORTSTAT_INFO(rx_switched_broadcast_packets)},
93 {PORTSTAT_INFO(tx_unicastframes)}, 96 {PORTSTAT_INFO(tx_unicastframes)},
94 {PORTSTAT_INFO(tx_multicastframes)}, 97 {PORTSTAT_INFO(tx_multicastframes)},
95 {PORTSTAT_INFO(tx_broadcastframes)}, 98 {PORTSTAT_INFO(tx_broadcastframes)},