[PATCH v1 3/3] dma/idxd: add API to create and attach to window

Burakov, Anatoly anatoly.burakov at intel.com
Mon Aug 14 11:55:21 CEST 2023


On 8/14/2023 5:39 AM, Jerin Jacob wrote:
> On Fri, Aug 11, 2023 at 9:45 PM Anatoly Burakov
> <anatoly.burakov at intel.com> wrote:
>>
>> This commit implements functions necessary to use inter-domain
>> operations with idxd driver.
>>
>> The process is as follows:
>>
>> 1. Process A that wishes to share its memory with others, shall call
>>     `rte_idxd_window_create()`, which will return a file descriptor
>> 2. Process A is to send above mentioned file descriptor to any
>>     recipient process (usually over kernel IPC) that wishes to attach to
>>     that window
>> 3. Process B, after receiving above mentioned file descriptor from
>>     process A over IPC, shall call `rte_idxd_window_attach()` and
>>     receive an inter-pasid handle
>> 4. Process B shall use this handle as an argument for inter-domain
>>     operations using DMA device API
> 
>> +};
>> +
>> +
>> +EXPERIMENTAL {
>> +       global:
>> +
>> +       rte_idxd_window_create;
>> +       rte_idxd_window_attach;
> 
> PMD specific API starts with rte_pmd_

Thanks, will fix in next revisions.

> 
>> +};
>> --
>> 2.37.2
>>

-- 
Thanks,
Anatoly



More information about the dev mailing list