Software Archive
Read-only legacy content
17061 Discussions

Pinning and unpinning of memory during offload_transfer

Anonymous
Not applicable
518 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
518 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
518 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
518 Views

Development concurred with the earlier replies.

0 Kudos
Anonymous
Not applicable
518 Views

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

0 Kudos
Reply