| 642 | } |
| 643 | |
| 644 | static int |
| 645 | test_priority_unordered(struct test *t) |
| 646 | { |
| 647 | if (init(t, 1, 1) < 0 || |
| 648 | create_ports(t, 1) < 0 || |
| 649 | create_unordered_qids(t, 1) < 0) { |
| 650 | printf("%d: Error initializing device\n", __LINE__); |
| 651 | return -1; |
| 652 | } |
| 653 | |
| 654 | /* map the QID */ |
| 655 | if (rte_event_port_link(evdev, t->port[0], &t->qid[0], NULL, 1) != 1) { |
| 656 | printf("%d: error mapping qid to port\n", __LINE__); |
| 657 | return -1; |
| 658 | } |
| 659 | if (rte_event_dev_start(evdev) < 0) { |
| 660 | printf("%d: Error with start call\n", __LINE__); |
| 661 | return -1; |
| 662 | } |
| 663 | |
| 664 | return run_prio_packet_test(t); |
| 665 | } |
| 666 | |
| 667 | static int |
| 668 | burst_packets(struct test *t) |
no test coverage detected