| 578 | |
| 579 | |
| 580 | static int |
| 581 | test_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 | |
| 598 | static int |
| 599 | test_priority_atomic(struct test *t) |
no test coverage detected