| 943 | } |
| 944 | |
| 945 | static int |
| 946 | add_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 | |
| 960 | static uint8_t |
| 961 | populate_active_devices(void) |
no test coverage detected