From: Alexander Duyck Date: Tue, 30 Oct 2012 06:01:55 +0000 (+0000) Subject: ixgbe: Improve performance and reduce size of ixgbe_tx_map X-Git-Tag: v3.9-rc1~139^2~320^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec718254cbfe2c311ee56a41af41877b7a51a556;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed