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

Function ut_teardown

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

Source from the content-addressed store, hash-verified

1069}
1070
1071static void
1072ut_teardown(void)
1073{
1074 uint8_t i, dev_id, ret;
1075 struct rte_bbdev_stats stats;
1076
1077 for (i = 0; i < nb_active_devs; i++) {
1078 dev_id = active_devs[i].dev_id;
1079 /* read stats and print */
1080 ret = rte_bbdev_stats_get(dev_id, &stats);
1081 if (ret != 0)
1082 printf("Failed to get stats on bbdev %u\n", dev_id);
1083 /* Stop the device */
1084 rte_bbdev_stop(dev_id);
1085 }
1086}
1087
1088static int
1089init_op_data_objs(struct rte_bbdev_op_data *bufs,

Callers

nothing calls this directly

Calls 3

rte_bbdev_stats_getFunction · 0.85
rte_bbdev_stopFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected