linux_dsm_epyc7002/drivers/net/ethernet/intel/igb
Alexander Duyck c9f14bf3a4 igb: Use dma_unmap_addr and dma_unmap_len defines
This change is meant to improve performance on systems that do not require
the DMA unmap calls.  On those systems we do not need to make use of the
unmap address for Tx or the unmap length so we can drop both thereby
reducing the size of the Tx buffer info structure.

In addition I have changed the logic to check for unmap length instead of
unmap address when checking to see if a buffer needs to be unmapped from
DMA use.  The reasons for this change is that on some platforms it is
possible to receive a valid DMA address of 0 from an IOMMU.

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>
2012-09-22 03:18:20 -07:00
..
e1000_82575.c igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
e1000_82575.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_defines.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
e1000_hw.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_mac.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_mac.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_nvm.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_nvm.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_phy.c igb: implement 580 MDI setting support 2012-08-21 01:24:05 -07:00
e1000_phy.h igb: implement 580 MDI setting support 2012-08-21 01:24:05 -07:00
e1000_regs.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
igb_ethtool.c igb: Correct PTP support query from ethtool. 2012-09-17 02:04:18 -07:00
igb_main.c igb: Use dma_unmap_addr and dma_unmap_len defines 2012-09-22 03:18:20 -07:00
igb_ptp.c igb: Add 1588 support to I210/I211. 2012-09-17 02:04:27 -07:00
igb.h igb: Use dma_unmap_addr and dma_unmap_len defines 2012-09-22 03:18:20 -07:00
Makefile igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00