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

Function test_app_create_vdev

dpdk/app/test/test_dispatcher.c:92–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static int
93test_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
108static int
109test_app_destroy_vdev(struct test_app *app)

Callers 1

test_app_setup_event_devFunction · 0.85

Calls 2

rte_vdev_initFunction · 0.85
rte_event_dev_get_dev_idFunction · 0.85

Tested by

no test coverage detected