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

Jerin Jacob jerinjacobk at gmail.com
Mon Aug 14 06:39:02 CEST 2023


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_

> +};
> --
> 2.37.2
>


More information about the dev mailing list