Commit 6fdae995 authored by Michael Chan's avatar Michael Chan Committed by David S. Miller

bnx2: Use proper counter for net_device_stats->multicast.

We were using the wrong tx multicast counter instead of the rx multicast
counter.
Reported-by: default avatarPeter Snellman <peter.snellman@cinnober.com>
Reviewed-by: default avatarBenjamin Li <benli@broadcom.com>
Reviewed-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 99faf68e
...@@ -6631,7 +6631,7 @@ bnx2_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats) ...@@ -6631,7 +6631,7 @@ bnx2_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats)
GET_64BIT_NET_STATS(stat_IfHCOutOctets); GET_64BIT_NET_STATS(stat_IfHCOutOctets);
net_stats->multicast = net_stats->multicast =
GET_64BIT_NET_STATS(stat_IfHCOutMulticastPkts); GET_64BIT_NET_STATS(stat_IfHCInMulticastPkts);
net_stats->collisions = net_stats->collisions =
GET_32BIT_NET_STATS(stat_EtherStatsCollisions); GET_32BIT_NET_STATS(stat_EtherStatsCollisions);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment