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

Function test_rawdev_selftest_impl

dpdk/app/test/test_rawdev.c:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include <rte_bus_vdev.h>
24
25static int
26test_rawdev_selftest_impl(const char *pmd, const char *opts)
27{
28 int ret;
29
30 printf("\n### Test rawdev infrastructure using skeleton driver\n");
31 rte_vdev_init(pmd, opts);
32 ret = rte_rawdev_selftest(rte_rawdev_get_dev_id(pmd));
33 rte_vdev_uninit(pmd);
34 return ret;
35}
36
37static int
38test_rawdev_selftest_skeleton(void)

Callers 1

Calls 5

rte_vdev_initFunction · 0.85
rte_rawdev_selftestFunction · 0.85
rte_rawdev_get_dev_idFunction · 0.85
rte_vdev_uninitFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected