igb: Remove artificial restriction on RQDPC stat reading
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Aug 2012 05:23:22 +0000 (05:23 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Mar 2013 03:24:18 +0000 (03:24 +0000)
commit74d789d80dcc1f966956b6698722577f6343c110
treede245283d026b8b239cab6469ee3590409db3a7e
parent4189aa4ceebb1cd2b216d88980e35399e299c8c5
igb: Remove artificial restriction on RQDPC stat reading

commit ae1c07a6b7ced6c0c94c99e3b53f4e7856fa8bff upstream.

For some reason the reading of the RQDPC register was being artificially
limited to 4K.  Instead of limiting the value we should read the value and
add the full amount.  Otherwise this can lead to a misleading number of
dropped packets when the actual value is in fact much higher.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/intel/igb/igb_main.c