On Thu, May 30, 2024 at 6:14 PM <pbhagavat...@marvell.com> wrote: > > From: Pavan Nikhilesh <pbhagavat...@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 <pbhagavat...@marvell.com> > Acked-by: Amit Prakash Shukla <amitpraka...@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.