| 106 | } |
| 107 | |
| 108 | static int |
| 109 | test_app_destroy_vdev(struct test_app *app) |
| 110 | { |
| 111 | int rc; |
| 112 | |
| 113 | rc = rte_event_dev_close(app->event_dev_id); |
| 114 | TEST_ASSERT_SUCCESS(rc, "Error while closing event device"); |
| 115 | |
| 116 | rc = rte_vdev_uninit(DSW_VDEV); |
| 117 | TEST_ASSERT_SUCCESS(rc, "Error while uninitializing virtual device"); |
| 118 | |
| 119 | return TEST_SUCCESS; |
| 120 | } |
| 121 | |
| 122 | static int |
| 123 | test_app_setup_event_dev(struct test_app *app) |
no test coverage detected