linux/drivers/net/ethernet/altera
Vince Bridgers 37c0ffaad2 Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA
This patch works around a recently discovered unaligned receive dma problem
with the Altera SGMDA. The Altera SGDMA component cannot be configured to
DMA data to unaligned addresses for receive packet operations from the
Triple Speed Ethernet component because of a potential data transfer
corruption that can occur. This patch addresses this issue by
utilizing the shift 16 bits feature of the Altera Triple Speed Ethernet
component and modifying the receive buffer physical addresses accordingly
such that the target receive DMA address is always aligned on a 32-bit
boundary.

Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com>
Tested-by: Matthew Gerlach <mgerlach@altera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-04-26 12:26:26 -04:00
..
Kconfig Altera TSE: Add Altera Ethernet Driver Makefile and Kconfig 2014-03-17 21:26:57 -04:00
Makefile Altera TSE: Add Altera Ethernet Driver Makefile and Kconfig 2014-03-17 21:26:57 -04:00
altera_msgdma.c Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_msgdma.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_msgdmahw.h
altera_sgdma.c Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_sgdma.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_sgdmahw.h Altera TSE: Add Altera Ethernet Driver SGDMA file components 2014-03-17 21:26:57 -04:00
altera_tse.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_tse_ethtool.c Altera TSE: Set version number by driver's get regs 2014-03-24 12:45:00 -04:00
altera_tse_main.c Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_utils.c Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver 2014-03-17 21:26:57 -04:00
altera_utils.h Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver 2014-03-17 21:26:57 -04:00