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

Function add_active_device

dpdk/app/test-bbdev/test_bbdev_perf.c:945–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943}
944
945static int
946add_active_device(uint8_t dev_id, struct rte_bbdev_info *info,
947 struct test_bbdev_vector *vector)
948{
949 int ret;
950
951 active_devs[nb_active_devs].driver_name = info->drv.driver_name;
952 active_devs[nb_active_devs].dev_id = dev_id;
953
954 ret = add_bbdev_dev(dev_id, info, vector);
955 if (ret == TEST_SUCCESS)
956 ++nb_active_devs;
957 return ret;
958}
959
960static uint8_t
961populate_active_devices(void)

Callers 1

populate_active_devicesFunction · 0.85

Calls 1

add_bbdev_devFunction · 0.85

Tested by

no test coverage detected