mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 16:56:09 +07:00
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: Peter Snellman <peter.snellman@cinnober.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Reviewed-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
99faf68e2b
commit
6fdae99555
@ -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_IfHCOutMulticastPkts);
|
||||
GET_64BIT_NET_STATS(stat_IfHCInMulticastPkts);
|
||||
|
||||
net_stats->collisions =
|
||||
GET_32BIT_NET_STATS(stat_EtherStatsCollisions);
|
||||
|
Loading…
Reference in New Issue
Block a user