[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251027135227.GM12554@unreal>
Date: Mon, 27 Oct 2025 15:52:27 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Chu Guangqing <chuguangqing@...pur.com>
Cc: jes@...ined-monkey.org, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.xn--org-o16s, pabeni@...hat.com,
linux-acenic@...site.dk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: alteon: migrate to dma_map_phys instead of map_page
On Tue, Oct 21, 2025 at 10:09:39AM +0800, Chu Guangqing wrote:
> After introduction of dma_map_phys(), there is no need to convert
> from physical address to struct page in order to map page. So let's
> use it directly.
>
> Signed-off-by: Chu Guangqing <chuguangqing@...pur.com>
> ---
> drivers/net/ethernet/alteon/acenic.c | 26 +++++++++++---------------
> 1 file changed, 11 insertions(+), 15 deletions(-)
I don't see dma_unmap_phys() in this patch.
Thanks
Powered by blists - more mailing lists