| 90 | } |
| 91 | |
| 92 | static int |
| 93 | test_app_create_vdev(struct test_app *app) |
| 94 | { |
| 95 | int rc; |
| 96 | |
| 97 | rc = rte_vdev_init(DSW_VDEV, NULL); |
| 98 | if (rc < 0) |
| 99 | return TEST_SKIPPED; |
| 100 | |
| 101 | rc = rte_event_dev_get_dev_id(DSW_VDEV); |
| 102 | |
| 103 | app->event_dev_id = (uint8_t)rc; |
| 104 | |
| 105 | return TEST_SUCCESS; |
| 106 | } |
| 107 | |
| 108 | static int |
| 109 | test_app_destroy_vdev(struct test_app *app) |
no test coverage detected