I place DMA JOB operation on the host from Bluefield-2 DPU in order to reduce the load of DPU’s arm core. I follow DOCA DMA Development Document, and the steps are here:
- Locating DOCA device.
- Initializing needed DOCA core structures.
- Populating DOCA memory map with destination buffer.
- Receiving exported data from arm DPU (sender), which is needed to create the remote memory map.
- Creating memory map to the remote buffer.
But when I create memory map to the remote buffer (in DPU’s memory), the function doca_mmap_create_from_export failed. The error code is DOCA_ERROR_NOT_SUPPORTED .
export object json:
Now, I don’t know where the problem is. And I’m not sure if the DOCA supports DMA operation is on the HOST to access DPU’s memory?