| 619 | |
| 620 | #ifdef RTE_LIB_EVENTDEV |
| 621 | static void |
| 622 | parse_eventq_sched(const char *optarg) |
| 623 | { |
| 624 | struct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc(); |
| 625 | |
| 626 | if (!strcmp(optarg, "ordered")) |
| 627 | evt_rsrc->sched_type = RTE_SCHED_TYPE_ORDERED; |
| 628 | if (!strcmp(optarg, "atomic")) |
| 629 | evt_rsrc->sched_type = RTE_SCHED_TYPE_ATOMIC; |
| 630 | if (!strcmp(optarg, "parallel")) |
| 631 | evt_rsrc->sched_type = RTE_SCHED_TYPE_PARALLEL; |
| 632 | } |
| 633 | |
| 634 | static void |
| 635 | parse_event_eth_rx_queues(const char *eth_rx_queues) |
no test coverage detected