linux-hardened/drivers/net/ethernet/intel
Alexander Duyck 80d0759e5e 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>
2012-11-13 14:18:15 -05:00
..
e1000 e1000: fix concurrent accesses to PHY from watchdog and ethtool 2012-11-01 03:11:13 -07:00
e1000e e1000e: Minimum packet size must be 17 bytes 2012-10-23 01:02:19 -07:00
igb igb: Improve performance and reduce size of igb_tx_map 2012-11-13 14:18:15 -05:00
igbvf igbvf: Check for error on dma_map_single call 2012-10-29 23:48:58 -07:00
ixgb netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
ixgbe ixgbe: Do not use DCA to prefetch the entire packet into the cache 2012-11-13 14:18:13 -05:00
ixgbevf ixgbevf: Reduce size of maximum rx buffer 2012-11-13 14:18:14 -05:00
e100.c netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
Kconfig ptp: Enable clock drivers along with associated net/PHY drivers 2012-11-01 11:35:18 -04:00
Makefile