Re: [PATCH 1/4] dmadev: add function to get list of device identifiers

2023-10-07 Thread fengchengwen
Hi Gowrishankar, This could create a help function in test, just like: func() { RTE_DMA_FOREACH_DEV(i) { rte_dma_info_get(i, &dev_info); if (strncmp(dev_info->dev_name, xxx) ... } } If some application (not test) should pick some specific device, I suggest ad

[PATCH 1/4] dmadev: add function to get list of device identifiers

2023-08-10 Thread Gowrishankar Muthukrishnan
Add a function to get list of device identifiers for a given driver name. Signed-off-by: Gowrishankar Muthukrishnan --- lib/dmadev/rte_dmadev.c | 20 lib/dmadev/rte_dmadev.h | 21 + lib/dmadev/version.map | 1 + 3 files changed, 42 insertions(+) diff -