commit | 3ceb90fd4898853cdac43084f0c6ee7270cb15f3 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Fri Aug 26 07:46:03 2011 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Oct 07 22:49:19 2011 -0700 |
tree | 97526ddf3e00da217061063a30fba616e982d4b5 | |
parent | 294e7d78f5b929536b81620ed33c6507f2921463 [diff] |
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>