aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sfi
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-09-13 02:28:16 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-09-22 06:09:57 -0400
commita57fe23e240b95282e60d643cd8ada3d2a66d8c6 (patch)
tree107afd7a65497a9afd570c5a8a5d881c1af013f7 /drivers/sfi
parent797fd4be7b6968ea752ae47367ae95454124a698 (diff)
igb: Simplify how we populate the RSS key
Instead of storing the RSS key as a character array we can simplify the configuration by making it a u32 array. This allows us to just write one value per register without any unnecessary operations to construct the value. This change will produce the same exact key, the only difference is that I translated the u8 array to a u32 array which will be correctly ordered on writes to hardware by the cpu_to_le32 operations that are built into the writel calls. 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/sfi')
0 files changed, 0 insertions, 0 deletions