On Thu, Oct 21, 2021 at 7:04 AM Kevin Laatz <[email protected]> wrote: > > On 21/10/2021 13:59, Chengwen Feng wrote: > > From: David Marchand <[email protected]> > > > > No need to expose rte_dma_devices out of the dmadev library. > > Existing helpers should be enough, and inlines make use of > > rte_dma_fp_objs.
I asked this earlier and was asked to use rte_dma_devices[] array by Kevin. Now that it has been made static is there a different way to get the fp_obj->private_data from a PMD .remove function ? I need the private data for DMA queue state cleanup. > > > > Signed-off-by: David Marchand <[email protected]> > > Reviewed-by: Chengwen Feng <[email protected]> > > Tested-by: Conor Walsh <[email protected]> > > --- > > app/test/test_dmadev.c | 5 +++-- > > lib/dmadev/rte_dmadev.c | 2 +- > > lib/dmadev/rte_dmadev_pmd.h | 2 -- > > lib/dmadev/version.map | 1 - > > 4 files changed, 4 insertions(+), 6 deletions(-) > > > > Acked-by: Kevin Laatz <[email protected]>

