aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_defines.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-08-26 07:45:26 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-10-07 22:35:50 -0700
commit6ad4edfcd7b6321da34e7cd0c88dd97adddd7f57 (patch)
tree484ed5fad188cf3014be9a89773e8fbb6ad7430b /drivers/net/ethernet/intel/igb/e1000_defines.h
parentigb: Use node specific allocations for the q_vectors and rings (diff)
downloadlinux-dev-6ad4edfcd7b6321da34e7cd0c88dd97adddd7f57.tar.xz
linux-dev-6ad4edfcd7b6321da34e7cd0c88dd97adddd7f57.zip
igb: avoid unnecessary conversions from u16 to int
There are a number of places where we have values that are stored as u16 but are being converted to int unnecessarily. In order to avoid that we should convert all variables that deal with the next_to_clean, next_to_use, and count to u16 values. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_defines.h')
0 files changed, 0 insertions, 0 deletions