Re: [PATCH net v2] page_pool: keep frag_offset aligned for odd-sized requests
From: patchwork-bot+netdevbpf
Date: Mon Aug 31 2026 - 20:01:22 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 28 Aug 2026 08:08:22 +0200 you wrote:
> page_pool_alloc_frag_netmem() rounds the requested fragment size with
>
> size = ALIGN(size, dma_get_cache_alignment());
>
> dma_get_cache_alignment() returns 1 unless the architecture defines
> ARCH_DMA_MINALIGN, which DMA-coherent architectures such as x86 do not.
> There the ALIGN() is a no-op and pool->frag_offset advances by the raw,
> unrounded size.
>
> [...]
Here is the summary with links:
- [net,v2] page_pool: keep frag_offset aligned for odd-sized requests
https://git.kernel.org/netdev/net/c/dc0df5a0c62c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html