From: patchwork-bot+netdevbpf@kernel.org
To: Furong Xu <0x1207@gmail.com>
Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, alexandre.torgue@foss.st.com,
joabreu@synopsys.com, andrew+netdev@lunn.ch, davem@davemloft.net,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
mcoquelin.stm32@gmail.com, xfr@outlook.com
Subject: Re: [PATCH net-next v1] net: stmmac: Set dma_sync_size to zero for discarded frames
Date: Tue, 07 Jan 2025 10:10:31 +0000 [thread overview]
Message-ID: <173624463153.4094378.15118164239287100695.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250103093733.3872939-1-0x1207@gmail.com>
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@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@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
prev parent reply other threads:[~2025-01-07 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 9:37 Furong Xu
2025-01-07 10:10 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173624463153.4094378.15118164239287100695.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=0x1207@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=joabreu@synopsys.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=xfr@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®