igb: move alloc_failed and csum_err stats into per rx-ring stat
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 27 Oct 2009 15:52:27 +0000 (15:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 08:20:29 +0000 (01:20 -0700)
commit04a5fcaaf0e12d066411aa54e42591952aa18da7
treee528d31a9aef81301340a9ef2d6367b2832ab2e7
parent4c844851d15cc08d995179ab5118172711be6eb0
igb: move alloc_failed and csum_err stats into per rx-ring stat

The allocation failed and checksum error stats are currently kept as a
global stat.  If we end up allocating the queues to multiple netdevs then
the global counter doesn't make much sense.  For this reason I felt it
necessary to move the alloc_rx_buff_failed stat into the rx_stats
portion of the rx_ring.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c