Skip to content
Commit 37c0ffaa authored by Vince Bridgers's avatar Vince Bridgers Committed by David S. Miller
Browse files

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: default avatarVince Bridgers <vbridgers2013@gmail.com>
Tested-by: default avatarMatthew Gerlach <mgerlach@altera.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2163260
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment