From: Antonio Di Bacco <a.dibacco.ks@gmail.com>
To: users@dpdk.org
Subject: Memory fill with dmadev
Date: Thu, 17 Nov 2022 21:52:21 +0100 [thread overview]
Message-ID: <CAO8pfFms-K8a8be5-AjJUcWDH+YqasYqA25JQR1G3jCShnVt7w@mail.gmail.com> (raw)
I'm using rte_dma_fill to set a pattern to a memory allocated with
rte_memzone_reserve_aligned.
I know that the dst address of the dma should be set to memzone->iova
field of the memory zone, anyway, the phys address obtained using
rte_mem_virt2phy(memzone->addr) could work as well?
I'm using --iova pa in rte_eal_init .
reply other threads:[~2022-11-17 20:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAO8pfFms-K8a8be5-AjJUcWDH+YqasYqA25JQR1G3jCShnVt7w@mail.gmail.com \
--to=a.dibacco.ks@gmail.com \
--cc=users@dpdk.org \
/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;
as well as URLs for NNTP newsgroup(s).