public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel•org>
To: Chu Guangqing <chuguangqing@inspur•com>
Cc: jes@trained-monkey•org, andrew+netdev@lunn•ch,
	davem@davemloft•net, edumazet@google•com,
	kuba@kernel•xn--org-o16s, pabeni@redhat•com,
	linux-acenic@sunsite•dk, netdev@vger•kernel.org,
	linux-kernel@vger•kernel.org
Subject: Re: [PATCH] net: alteon: migrate to dma_map_phys instead of map_page
Date: Mon, 27 Oct 2025 15:52:27 +0200	[thread overview]
Message-ID: <20251027135227.GM12554@unreal> (raw)
In-Reply-To: <20251021020939.1121-1-chuguangqing@inspur.com>

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@inspur•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

      parent reply	other threads:[~2025-10-27 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21  2:09 [PATCH] net: alteon: migrate to dma_map_phys instead of map_page Chu Guangqing
2025-10-22 23:52 ` Jacob Keller
2025-10-23 11:03 ` Paolo Abeni
2025-10-27 13:52 ` Leon Romanovsky [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=20251027135227.GM12554@unreal \
    --to=leon@kernel$(echo .)org \
    --cc=andrew+netdev@lunn$(echo .)ch \
    --cc=chuguangqing@inspur$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=edumazet@google$(echo .)com \
    --cc=jes@trained-monkey$(echo .)org \
    --cc=kuba@kernel$(echo .)xn--org-o16s \
    --cc=linux-acenic@sunsite$(echo .)dk \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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