Thread (6 messages) flat view 6 messages, 6 authors, 9d ago

Re: [PATCH net v2] page_pool: keep frag_offset aligned for odd-sized requests

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-01 00:01:08
Also in: bpf, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help