summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-03-24 16:23:45 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-25 02:33:05 +0300
commit4e958f33ee8f404787711416fe0f78cce2b2f4e2 (patch)
tree7e21b924ac3879690f66fd97bf2579295660e5df /tools
parent6a00d0dd3fcfa2ef200973479fbeee62f3681130 (diff)
downloadlinux-4e958f33ee8f404787711416fe0f78cce2b2f4e2.tar.xz
net: axienet: Upgrade descriptors to hold 64-bit addresses
Newer revisions of the AXI DMA IP (>= v7.1) support 64-bit addresses, both for the descriptors itself, as well as for the buffers they are pointing to. This is realised by adding "MSB" words for the next and phys pointer right behind the existing address word, now named "LSB". These MSB words live in formerly reserved areas of the descriptor. If the hardware supports it, write both words when setting an address. The buffer address is handled by two wrapper functions, the two occasions where we set the next pointers are open coded. For now this is guarded by a flag which we don't set yet. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions