summaryrefslogtreecommitdiff
path: root/include/uapi/linux/can
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-11-13 04:03:24 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-11-13 19:18:15 (GMT)
commit80d0759e5e714cb738c50d32edf3364b713453ff (patch)
tree82edbde223cbc6b91b93fdc3bd8ada551a90ddb5 /include/uapi/linux/can
parent1d9daf45b474a7db7a2f850ab03def2d0721095d (diff)
downloadlinux-fsl-qoriq-80d0759e5e714cb738c50d32edf3364b713453ff.tar.xz
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 <alexander.h.duyck@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/can')
0 files changed, 0 insertions, 0 deletions