| 1026 | } |
| 1027 | |
| 1028 | static int |
| 1029 | test_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 | |
| 1046 | static void |
| 1047 | parse_dma_env_var(void) |
no test coverage detected