diff options
| author | Alexander Duyck <alexander.h.duyck@intel.com> | 2012-10-30 06:01:55 +0000 | 
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-01-19 04:21:05 -0800 | 
| commit | ec718254cbfe2c311ee56a41af41877b7a51a556 (patch) | |
| tree | 0c69b6199828c8ae07a1dae8497fc89be4e62745 /drivers/net/ethernet/intel/igb/igb_main.c | |
| parent | 472148c320c0d11245932ba1315bc4ec0667ed57 (diff) | |
| download | olio-linux-3.10-ec718254cbfe2c311ee56a41af41877b7a51a556.tar.xz olio-linux-3.10-ec718254cbfe2c311ee56a41af41877b7a51a556.zip  | |
ixgbe: Improve performance and reduce size of ixgbe_tx_map
This change is meant to both improve the performance and reduce the size of
ixgbe_tx_map.  To do this I have expanded the work done in the main loop by
pushing first into tx_buffer.  This allows us to pull in the dma_mapping_error
check, the tx_buffer value assignment, and the initial DMA value assignment to
the Tx descriptor.  The net result is that the function reduces in size by a
little over a 100 bytes and is about 1% or 2% faster.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_main.c')
0 files changed, 0 insertions, 0 deletions