Re: [PATCH] net: alteon: migrate to dma_map_phys instead of map_page
From: Leon Romanovsky
Date: Mon Oct 27 2025 - 10:00:36 EST
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@xxxxxxxxxx>
> ---
> 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