DPDK usage discussions
 help / color / mirror / Atom feed
* Memory fill with dmadev
@ 2022-11-17 20:52 Antonio Di Bacco
  0 siblings, 0 replies; only message in thread
From: Antonio Di Bacco @ 2022-11-17 20:52 UTC (permalink / raw)
  To: users

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 .

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-17 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17 20:52 Memory fill with dmadev Antonio Di Bacco

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).