commit | d5f398ed73522b9f76861af6553775c5851de0d0 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Nov 16 19:26:48 2010 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Nov 16 19:26:48 2010 -0800 |
tree | 63bc695c221d15332c4ff9ec69f2a6e66c903563 | |
parent | 8ad494b0e59950e2b4e587c32cb67a2452795ea0 [diff] |
ixgbe: cleanup ixgbe_alloc_rx_buffers This change re-orders alloc_rx_buffers to make better use of the packet split enabled flag. The new setup should require less branching in the code since now we are down to fewer if statements since we either are handling packet split or aren't. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>