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

Function ml_test_device_stop

dpdk/app/test-mldev/test_common.c:189–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189int
190ml_test_device_stop(struct ml_test *test, struct ml_options *opt)
191{
192 struct test_common *t = ml_test_priv(test);
193 int ret = 0;
194
195 RTE_SET_USED(t);
196
197 /* stop device */
198 ret = rte_ml_dev_stop(opt->dev_id);
199 if (ret != 0)
200 ml_err("Failed to stop ML device, dev_id = %d\n", opt->dev_id);
201
202 return ret;
203}

Callers 3

test_device_reconfigureFunction · 0.85

Calls 2

ml_test_privFunction · 0.85
rte_ml_dev_stopFunction · 0.85

Tested by

no test coverage detected