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

Function rte_dma_pmd_allocate

dpdk/lib/dmadev/rte_dmadev.c:350–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350struct rte_dma_dev *
351rte_dma_pmd_allocate(const char *name, int numa_node, size_t private_data_size)
352{
353 struct rte_dma_dev *dev;
354
355 if (dma_check_name(name) != 0 || private_data_size == 0)
356 return NULL;
357
358 dev = dma_allocate(name, numa_node, private_data_size);
359 if (dev == NULL)
360 return NULL;
361
362 dev->state = RTE_DMA_DEV_REGISTERED;
363
364 return dev;
365}
366
367int
368rte_dma_pmd_release(const char *name)

Callers 7

hisi_dma_createFunction · 0.85
idxd_dmadev_createFunction · 0.85
ioat_dmadev_createFunction · 0.85
dpaa2_qdma_probeFunction · 0.85
cnxk_dmadev_probeFunction · 0.85
skeldma_createFunction · 0.85
dpaa_qdma_probeFunction · 0.85

Calls 2

dma_check_nameFunction · 0.85
dma_allocateFunction · 0.85

Tested by

no test coverage detected