[PATCH v4 1/2] eventdev/dma: reorganize event DMA ops
Jerin Jacob
jerinjacobk at gmail.com
Fri Jun 7 12:20:52 CEST 2024
On Thu, May 30, 2024 at 6:14 PM <pbhagavatula at marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Re-organize event DMA ops structure to allow holding
> source and destination pointers without the need for
> additional memory, the mempool allocating memory for
> rte_event_dma_adapter_ops can size the structure to
> accommodate all the needed source and destination
> pointers.
>
> Add multiple words for holding user metadata, adapter
> implementation specific metadata and event metadata.
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> Acked-by: Amit Prakash Shukla <amitprakashs at marvell.com>
> ---
> v4 Changes:
> - Reduce unreleated driver changes and move to 2/2.
> v3 Changes:
> - Fix stdatomic compilation.
> v2 Changes:
> - Fix 32bit compilation
>
> app/test-eventdev/test_perf_common.c | 26 ++++--------
> app/test/test_event_dma_adapter.c | 20 +++------
> doc/guides/prog_guide/event_dma_adapter.rst | 2 +-
> drivers/dma/cnxk/cnxk_dmadev_fp.c | 20 ++++-----
> lib/eventdev/rte_event_dma_adapter.c | 27 ++++--------
> lib/eventdev/rte_event_dma_adapter.h | 46 +++++++++++++++------
> 6 files changed, 66 insertions(+), 75 deletions(-)
> * instance.
> */
> struct rte_event_dma_adapter_op {
> - struct rte_dma_sge *src_seg;
Even though it is experimental , Changes in public structure need to
updated in release notes.
Please send the next version.
More information about the dev
mailing list