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

Function test_simple_enqdeq

dpdk/drivers/event/dpaa2/dpaa2_eventdev_selftest.c:393–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static int
394test_simple_enqdeq(uint8_t sched_type)
395{
396 int ret;
397
398 ret = inject_events(0 /*flow_id */,
399 RTE_EVENT_TYPE_CPU /* event_type */,
400 0 /* sub_event_type */,
401 sched_type,
402 0 /* queue */,
403 0 /* port */,
404 MAX_EVENTS);
405 if (ret)
406 return -1;
407
408 return consume_events(0 /* port */, MAX_EVENTS, validate_simple_enqdeq);
409}
410
411static int
412test_simple_enqdeq_atomic(void)

Callers 2

Calls 2

inject_eventsFunction · 0.70
consume_eventsFunction · 0.70

Tested by

no test coverage detected