lkml.org 
[lkml]   [2021]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: stmmac: Add GFP_DMA32 for rx buffers if no 64 capability
From
Date
Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 13 Dec 2021 19:15:15 +0800 you wrote:
> Use page_pool_alloc_pages instead of page_pool_dev_alloc_pages, which
> can give the gfp parameter, in the case of not supporting 64-bit width,
> using 32-bit address memory can reduce a copy from swiotlb.
>
> Signed-off-by: David Wu <david.wu@rock-chips.com>
> ---
> .../net/ethernet/stmicro/stmmac/stmmac_main.c | 16 ++++++++++++----
> 1 file changed, 12 insertions(+), 4 deletions(-)

Here is the summary with links:
- net: stmmac: Add GFP_DMA32 for rx buffers if no 64 capability
https://git.kernel.org/netdev/net/c/884d2b845477

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2021-12-13 16:11    [W:0.024 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site