> -----Original Message----- > From: pbhagavat...@marvell.com <pbhagavat...@marvell.com> > Sent: Wednesday, April 17, 2024 1:57 PM > To: Jerin Jacob <jer...@marvell.com>; Amit Prakash Shukla > <amitpraka...@marvell.com>; Vamsi Krishna Attunuru > <vattun...@marvell.com> > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > <pbhagavat...@marvell.com> > Subject: [PATCH v3 1/2] eventdev/dma: reorganize event DMA ops > > 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> > --- > 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 | 39 +++++++---------- > lib/eventdev/rte_event_dma_adapter.c | 27 ++++-------- > lib/eventdev/rte_event_dma_adapter.h | 46 +++++++++++++++------ > 6 files changed, 72 insertions(+), 88 deletions(-) >
Acked-by: Amit Prakash Shukla <amitpraka...@marvell.com>