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

Function test_app_destroy_vdev

dpdk/app/test/test_dispatcher.c:108–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108static int
109test_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
122static int
123test_app_setup_event_dev(struct test_app *app)

Callers 1

Calls 2

rte_event_dev_closeFunction · 0.85
rte_vdev_uninitFunction · 0.85

Tested by

no test coverage detected