Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Pinning and unpinning of memory during offload_transfer

Anonymous
Not applicable
554 Views

I am assuming that DMA is used transfer data into and out of mic devices if the transfer is asynchronous. If that is correct, the memory needs to be pinned before the transfer. What protocol is used for pinning and unpinning memory?

0 Kudos
4 Replies
jimdempseyatthecove
Honored Contributor III
554 Views

Presumably any pinning would be a requirement of the driver, as well as any translation from Virtual Memory addresses to Physical Memory addresses, and as well as handling paging if necessary. This should not be the responsibility of the application programmer.

Jim Dempsey

0 Kudos
jiri
New Contributor I
554 Views

I suspect that the SCIF library (or something very similar at the driver level) is used for these transfers, so looking at the SCIF documentation could give you some idea about the way it works. But I don't think that it could be in any way used in your code to interact with the transfers that the offload directives do.

0 Kudos
Kevin_D_Intel
Employee
554 Views

Development concurred with the earlier replies.

0 Kudos
Anonymous
Not applicable
554 Views

Thanks for the replies, especially the reference to the SCIF documentation

0 Kudos
Reply