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
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 -
2 matches
Mail list logo