]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefd6587cfdf295d46d54bab1f8c8bb7bb2dedcb9
tree95f4b95077c450fccede70fb20d2c922369d433a
parent07b17d93f54c481e010bbf68b68a05ae7d74230d
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