be2net: fix net-snmp error because of wrong packet stats
authorAjit Khaparde <ajitk@serverengines.com>
Fri, 3 Sep 2010 06:17:10 +0000 (06:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Sep 2010 16:52:45 +0000 (09:52 -0700)
commit1ef78abec6b5e9e3062e3ae6660eabaf055a718d
tree34436d7aa1294d37b4cad58d634950d5cdc2e8a5
parent0b5d404e349c0236b11466c0a4785520c0be6982
be2net: fix net-snmp error because of wrong packet stats

Wrong packet statistics for multicast Rx was causing net-snmp error messages
every 15 seconds. Instead of picking the multicast stats from hardware,
now maintain it in the driver itself.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_ethtool.c
drivers/net/benet/be_hw.h
drivers/net/benet/be_main.c