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

Function rte_rawdev_count

dpdk/lib/rawdev/rte_rawdev.c:32–36  ·  view source on GitHub ↗

Raw device, northbound API implementation */

Source from the content-addressed store, hash-verified

30
31/* Raw device, northbound API implementation */
32uint8_t
33rte_rawdev_count(void)
34{
35 return rawdev_globals.nb_devs;
36}
37
38uint16_t
39rte_rawdev_get_dev_id(const char *name)

Callers 3

testsuite_setupFunction · 0.85
test_rawdev_countFunction · 0.85
test_rawdev_selftestsFunction · 0.85

Calls

no outgoing calls

Tested by 3

testsuite_setupFunction · 0.68
test_rawdev_countFunction · 0.68
test_rawdev_selftestsFunction · 0.68