| 92 | } |
| 93 | |
| 94 | static void |
| 95 | l2fwd_event_parse_eventq_sched(const char *optarg, |
| 96 | struct l2fwd_resources *rsrc) |
| 97 | { |
| 98 | if (!strncmp(optarg, "ordered", 7)) |
| 99 | rsrc->sched_type = RTE_SCHED_TYPE_ORDERED; |
| 100 | else if (!strncmp(optarg, "atomic", 6)) |
| 101 | rsrc->sched_type = RTE_SCHED_TYPE_ATOMIC; |
| 102 | else if (!strncmp(optarg, "parallel", 8)) |
| 103 | rsrc->sched_type = RTE_SCHED_TYPE_PARALLEL; |
| 104 | } |
| 105 | |
| 106 | static int |
| 107 | l2fwd_parse_port_pair_config(const char *q_arg, struct l2fwd_resources *rsrc) |
no test coverage detected