aboutsummaryrefslogtreecommitdiff
path: root/Documentation/phy
diff options
context:
space:
mode:
authorAntoine Tenart2018-06-22 10:15:39 +0200
committerDavid S. Miller2018-06-23 10:40:15 +0900
commit271f7ff5aa5a73488b7a9d8b84b5205fb5b2f7cc (patch)
treeb47073e4ee3a9342de9357252d169cfea7b8cd96 /Documentation/phy
parent805f16a5f12fd68e10841013ccfaceb2f4d7066a (diff)
net: mvneta: fix the Rx desc DMA address in the Rx path
When using s/w buffer management, buffers are allocated and DMA mapped. When doing so on an arm64 platform, an offset correction is applied on the DMA address, before storing it in an Rx descriptor. The issue is this DMA address is then used later in the Rx path without removing the offset correction. Thus the DMA address is wrong, which can led to various issues. This patch fixes this by removing the offset correction from the DMA address retrieved from the Rx descriptor before using it in the Rx path. Fixes: 8d5047cf9ca2 ("net: mvneta: Convert to be 64 bits compatible") Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/phy')
0 files changed, 0 insertions, 0 deletions