MCPcopy Create free account
hub / github.com/F-Stack/f-stack / is_valid_atomic_queue_conf

Function is_valid_atomic_queue_conf

dpdk/lib/eventdev/rte_eventdev.c:574–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574static inline int
575is_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
590static inline int
591is_valid_ordered_queue_conf(const struct rte_event_queue_conf *queue_conf)

Callers 1

rte_event_queue_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected