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

Function test_apis

dpdk/app/test/test_dmadev.c:1028–1044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1026}
1027
1028static int
1029test_apis(void)
1030{
1031 const char *pmd = "dma_skeleton";
1032 int id;
1033 int ret;
1034
1035 /* attempt to create skeleton instance - ignore errors due to one being already present */
1036 rte_vdev_init(pmd, NULL);
1037 id = rte_dma_get_dev_id_by_name(pmd);
1038 if (id < 0)
1039 return TEST_SKIPPED;
1040 printf("\n### Test dmadev infrastructure using skeleton driver\n");
1041 ret = test_dma_api(id);
1042
1043 return ret;
1044}
1045
1046static void
1047parse_dma_env_var(void)

Callers 1

test_dmaFunction · 0.85

Calls 4

rte_vdev_initFunction · 0.85
test_dma_apiFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected