[PATCH net-next v1] net: stmmac: Set dma_sync_size to zero for discarded frames
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Tue Jan 7 02:10:31 PST 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Fri, 3 Jan 2025 17:37:33 +0800 you wrote:
> If a frame is going to be discarded by driver, this frame is never touched
> by driver and the cache lines never become dirty obviously,
> page_pool_recycle_direct() wastes CPU cycles on unnecessary calling of
> page_pool_dma_sync_for_device() to sync entire frame.
> page_pool_put_page() with sync_size setting to 0 is the proper method.
>
> Signed-off-by: Furong Xu <0x1207 at gmail.com>
>
> [...]
Here is the summary with links:
- [net-next,v1] net: stmmac: Set dma_sync_size to zero for discarded frames
https://git.kernel.org/netdev/net-next/c/51cfbed198ca
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list