Re: [dpdk-dev] [PATCH 1/2] dmadev: hide devices array

2021-10-20 Thread Walsh, Conor
> Subject: [dpdk-dev] [PATCH 1/2] dmadev: hide devices array > > 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. > > Signed-off-by: David Marchand > --- The devices array is n

Re: [dpdk-dev] [PATCH 1/2] dmadev: hide devices array

2021-10-20 Thread David Marchand
On Wed, Oct 20, 2021 at 11:47 AM fengchengwen wrote: > > On 2021/10/20 14:59, David Marchand wrote: > > 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. > > > > Signed-off-by: David Marchand > > --- >

Re: [dpdk-dev] [PATCH 1/2] dmadev: hide devices array

2021-10-20 Thread fengchengwen
On 2021/10/20 14:59, David Marchand wrote: > 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. > > Signed-off-by: David Marchand > --- > app/test/test_dmadev.c | 5 +++-- > lib/dmadev/rte_dmadev.c

[dpdk-dev] [PATCH 1/2] dmadev: hide devices array

2021-10-20 Thread David Marchand
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. Signed-off-by: David Marchand --- app/test/test_dmadev.c | 5 +++-- lib/dmadev/rte_dmadev.c | 2 +- lib/dmadev/rte_dmadev_pmd.h | 2 -- lib/dmadev/ver