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

Function test_simple_enqdeq

dpdk/drivers/event/octeontx/ssovf_evdev_selftest.c:437–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437static inline int
438test_simple_enqdeq(uint8_t sched_type)
439{
440 int ret;
441
442 ret = inject_events(0 /*flow_id */,
443 RTE_EVENT_TYPE_CPU /* event_type */,
444 0 /* sub_event_type */,
445 sched_type,
446 0 /* queue */,
447 0 /* port */,
448 MAX_EVENTS);
449 if (ret)
450 return -1;
451
452 return consume_events(0 /* port */, MAX_EVENTS, validate_simple_enqdeq);
453}
454
455static int
456test_simple_enqdeq_ordered(void)

Callers 3

Calls 2

inject_eventsFunction · 0.70
consume_eventsFunction · 0.70

Tested by

no test coverage detected