commit | c3278587e7d34cfbc1d38d3ae25923343af7752a | [log] [tgz] |
---|---|---|
author | Alexander Duyck <aduyck@mirantis.com> | Wed Jan 06 23:10:23 2016 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Feb 15 16:21:05 2016 -0800 |
tree | 16e68019ed5a5591e63f4eafa923c32bff4a5b0b | |
parent | 9ce0e8d72678b5b60c99ce4c7af15ec127c761cb [diff] |
igb: clean up code for setting MAC address Drop a bunch of hand written byte swapping code in favor of just doing the byte swapping ourselves. The registers are little endian registers storing a big endian value so if we read the MAC address array as little endian then we will get the CPU registers into the proper layout. Signed-off-by: Alexander Duyck <aduyck@mirantis.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>