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

Function rte_mvep_init

dpdk/drivers/common/mvep/mvep_common.c:21–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static struct mvep mvep;
20
21int rte_mvep_init(enum mvep_module_type module __rte_unused,
22 struct rte_kvargs *kvlist __rte_unused)
23{
24 int ret;
25
26 if (!mvep.ref_count) {
27 ret = mv_sys_dma_mem_init(MRVL_MUSDK_DMA_MEMSIZE);
28 if (ret)
29 return ret;
30 }
31
32 mvep.ref_count++;
33
34 return 0;
35}
36
37int rte_mvep_deinit(enum mvep_module_type module __rte_unused)
38{

Callers 3

rte_pmd_mrvl_probeFunction · 0.85
rte_pmd_mvneta_probeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected