igb: Add macro for size of RETA indirection table
authorLaura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
Wed, 31 Jul 2013 20:19:48 +0000 (20:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Aug 2013 09:26:18 +0000 (02:26 -0700)
commitc342b39ea7ca0e46e093cdb346bf52b2b4e71b01
tree292ddfb602b12606fd6b2612bcb727da699de08a
parent7dc98a623392b39f8670755d4b65968b80f01716
igb: Add macro for size of RETA indirection table

RETA indirection table is used to assign the received data to a CPU
in order to maintain an efficient distribution of network receive
processing across multiple CPUs.

This patch removes the hard-coded value for the size of the indirection
table and defines a new macro.

Signed-off-by: Laura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c