projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99faf68
)
bnx2: Use proper counter for net_device_stats->multicast.
author
Michael Chan
<
[email protected]
>
Mon, 19 Jul 2010 14:15:02 +0000
(14:15 +0000)
committer
David S. Miller
<
[email protected]
>
Tue, 20 Jul 2010 03:30:05 +0000
(20:30 -0700)
We were using the wrong tx multicast counter instead of the rx multicast
counter.
Reported-by: Peter Snellman <
[email protected]
>
Reviewed-by: Benjamin Li <
[email protected]
>
Reviewed-by: Matt Carlson <
[email protected]
>
Signed-off-by: Michael Chan <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/bnx2.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2.c
b/drivers/net/bnx2.c
index ce3217b441a477336f155c9f93a7785230a1374e..deb7f83e8245b58a37f63d366b501c03633a6da6 100644
(file)
--- a/
drivers/net/bnx2.c
+++ b/
drivers/net/bnx2.c
@@
-6631,7
+6631,7
@@
bnx2_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats)
GET_64BIT_NET_STATS(stat_IfHCOutOctets);
net_stats->multicast =
- GET_64BIT_NET_STATS(stat_IfHC
Out
MulticastPkts);
+ GET_64BIT_NET_STATS(stat_IfHC
In
MulticastPkts);
net_stats->collisions =
GET_32BIT_NET_STATS(stat_EtherStatsCollisions);