projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d87f5c
)
be2net: stats for packets received due to internal switching in ASIC.
author
Ajit Khaparde
<ajitk@serverengines.com>
Wed, 25 Aug 2010 00:32:56 +0000
(
00:32
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 25 Aug 2010 23:41:26 +0000
(16:41 -0700)
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>
drivers/net/benet/be_ethtool.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_ethtool.c
b/drivers/net/benet/be_ethtool.c
index cd16243c7c364a858d849ac3f70ac10bbbfcb966..9bedb9ff6e12327b877912abcc75d9b0a9f59f44 100644
(file)
--- 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[] = {
{PORTSTAT_INFO(rx_non_rss_packets)},
{PORTSTAT_INFO(rx_ipv4_packets)},
{PORTSTAT_INFO(rx_ipv6_packets)},
+ {PORTSTAT_INFO(rx_switched_unicast_packets)},
+ {PORTSTAT_INFO(rx_switched_multicast_packets)},
+ {PORTSTAT_INFO(rx_switched_broadcast_packets)},
{PORTSTAT_INFO(tx_unicastframes)},
{PORTSTAT_INFO(tx_multicastframes)},
{PORTSTAT_INFO(tx_broadcastframes)},