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

Function test_priority_directed

dpdk/drivers/event/sw/sw_evdev_selftest.c:580–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578
579
580static int
581test_priority_directed(struct test *t)
582{
583 if (init(t, 1, 1) < 0 ||
584 create_ports(t, 1) < 0 ||
585 create_directed_qids(t, 1, t->port) < 0) {
586 printf("%d: Error initializing device\n", __LINE__);
587 return -1;
588 }
589
590 if (rte_event_dev_start(evdev) < 0) {
591 printf("%d: Error with start call\n", __LINE__);
592 return -1;
593 }
594
595 return run_prio_packet_test(t);
596}
597
598static int
599test_priority_atomic(struct test *t)

Callers 1

test_sw_eventdevFunction · 0.85

Calls 6

create_directed_qidsFunction · 0.85
rte_event_dev_startFunction · 0.85
run_prio_packet_testFunction · 0.85
initFunction · 0.70
create_portsFunction · 0.70
printfFunction · 0.50

Tested by

no test coverage detected