summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igb/e1000_mac.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2011-08-26 07:46:03 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-10-07 22:49:19 -0700
commit3ceb90fd4898853cdac43084f0c6ee7270cb15f3 (patch)
tree97526ddf3e00da217061063a30fba616e982d4b5 /drivers/net/ethernet/intel/igb/e1000_mac.c
parent294e7d78f5b929536b81620ed33c6507f2921463 (diff)
downloadolio-linux-3.10-3ceb90fd4898853cdac43084f0c6ee7270cb15f3.tar.xz
olio-linux-3.10-3ceb90fd4898853cdac43084f0c6ee7270cb15f3.zip
igb: leave staterr in place and instead us a helper function to check bits
Instead of doing a byte swap on the staterr bits in the Rx descriptor we can save ourselves a bit of space and some CPU time by instead just testing for the various bits out of the Rx descriptor directly. 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_mac.c')
0 files changed, 0 insertions, 0 deletions