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

Function test_app_get_worker_index

dpdk/app/test/test_dispatcher.c:310–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310static int
311test_app_get_worker_index(struct test_app *app, unsigned int lcore_id)
312{
313 int i;
314
315 for (i = 0; i < NUM_SERVICE_CORES; i++)
316 if (app->service_lcores[i] == lcore_id)
317 return i;
318
319 return -1;
320}
321
322static int
323test_app_get_worker_port(struct test_app *app, unsigned int lcore_id)

Callers 1

test_app_get_worker_portFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected