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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Sep 2012 09:30:32 +0000 (02:30 -0700)
commitae1c07a6b7ced6c0c94c99e3b53f4e7856fa8bff
tree95f4b95077c450fccede70fb20d2c922369d433a
parentaee77e4accbeb2c86b1d294cd84fec4a12dde3bd
igb: Remove artificial restriction on RQDPC stat reading

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>
drivers/net/ethernet/intel/igb/igb_main.c