aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2012-11-13 04:03:24 +0000
committerDavid S. Miller <[email protected]>2012-11-13 14:18:15 -0500
commit80d0759e5e714cb738c50d32edf3364b713453ff (patch)
tree82edbde223cbc6b91b93fdc3bd8ada551a90ddb5 /tools/perf/scripts/python
parent1d9daf45b474a7db7a2f850ab03def2d0721095d (diff)
igb: Improve performance and reduce size of igb_tx_map
This change is meant to both improve the performance and reduce the size of igb_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 <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions