| 572 | } |
| 573 | |
| 574 | static inline int |
| 575 | is_valid_atomic_queue_conf(const struct rte_event_queue_conf *queue_conf) |
| 576 | { |
| 577 | if (queue_conf && |
| 578 | !(queue_conf->event_queue_cfg & |
| 579 | RTE_EVENT_QUEUE_CFG_SINGLE_LINK) && |
| 580 | ((queue_conf->event_queue_cfg & |
| 581 | RTE_EVENT_QUEUE_CFG_ALL_TYPES) || |
| 582 | (queue_conf->schedule_type |
| 583 | == RTE_SCHED_TYPE_ATOMIC) |
| 584 | )) |
| 585 | return 1; |
| 586 | else |
| 587 | return 0; |
| 588 | } |
| 589 | |
| 590 | static inline int |
| 591 | is_valid_ordered_queue_conf(const struct rte_event_queue_conf *queue_conf) |
no outgoing calls
no test coverage detected