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

Function test_app_get_worker_port

dpdk/app/test/test_dispatcher.c:322–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322static int
323test_app_get_worker_port(struct test_app *app, unsigned int lcore_id)
324{
325 int worker;
326
327 worker = test_app_get_worker_index(app, lcore_id);
328
329 if (worker < 0)
330 return -1;
331
332 return WORKER_PORT_ID(worker);
333}
334
335static void
336test_app_queue_note_error(struct test_app *app)

Callers 1

test_app_process_queueFunction · 0.85

Calls 1

Tested by

no test coverage detected