]> Git Repo - linux.git/commit
arm64: mm: define NET_IP_ALIGN to 0
authorArd Biesheuvel <[email protected]>
Wed, 7 Nov 2018 17:10:38 +0000 (18:10 +0100)
committerCatalin Marinas <[email protected]>
Thu, 8 Nov 2018 17:50:26 +0000 (17:50 +0000)
commit26a4676faa1ad5d99317e0cd701e5d6f3e716b77
treee028f8b341426293dd78072515a6dac5a6c10fc2
parent313a06e636808387822af24c507cba92703568b1
arm64: mm: define NET_IP_ALIGN to 0

On arm64, there is no need to add 2 bytes of padding to the start of
each network buffer just to make the IP header appear 32-bit aligned.

Since this might actually adversely affect DMA performance some
platforms, let's override NET_IP_ALIGN to 0 to get rid of this
padding.

Acked-by: Ilias Apalodimas <[email protected]>
Tested-by: Ilias Apalodimas <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/include/asm/processor.h
This page took 0.049861 seconds and 4 git commands to generate.