MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_dma_next_dev

Function rte_dma_next_dev

dpdk/lib/dmadev/rte_dmadev.c:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56int16_t
57rte_dma_next_dev(int16_t start_dev_id)
58{
59 int16_t dev_id = start_dev_id;
60 while (dev_id < dma_devices_max && rte_dma_devices[dev_id].state == RTE_DMA_DEV_UNUSED)
61 dev_id++;
62
63 if (dev_id < dma_devices_max)
64 return dev_id;
65
66 return -1;
67}
68
69static int
70dma_check_name(const char *name)

Callers 1

assign_dmadevsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected