igb: Use a 32-bit mask when calculating the flow control watermarks
authorMatthew Vick <matthew.vick@intel.com>
Thu, 8 Nov 2012 04:03:58 +0000 (04:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 28 Nov 2012 12:13:39 +0000 (04:13 -0800)
For some devices, the result of the flow control high watermark gets
truncated when programming it into the registers because of the mask used.
Switch the mask to 32-bit to prevent this from happening.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

No differences found