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

Function rte_bbdev_is_valid

dpdk/lib/bbdev/rte_bbdev.c:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293bool
294rte_bbdev_is_valid(uint16_t dev_id)
295{
296 if ((dev_id < RTE_BBDEV_MAX_DEVS) &&
297 rte_bbdev_devices[dev_id].state == RTE_BBDEV_INITIALIZED)
298 return true;
299 return false;
300}
301
302uint16_t
303rte_bbdev_find_next(uint16_t dev_id)

Callers 4

get_devFunction · 0.85
rte_bbdev_find_nextFunction · 0.85
test_bbdev_countFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_bbdev_countFunction · 0.68