Lines Matching refs:queue_conf

587 				 struct rte_event_queue_conf *queue_conf)  in rte_event_queue_default_conf_get()  argument
594 if (queue_conf == NULL) in rte_event_queue_default_conf_get()
603 memset(queue_conf, 0, sizeof(struct rte_event_queue_conf)); in rte_event_queue_default_conf_get()
604 (*dev->dev_ops->queue_def_conf)(dev, queue_id, queue_conf); in rte_event_queue_default_conf_get()
609 is_valid_atomic_queue_conf(const struct rte_event_queue_conf *queue_conf) in is_valid_atomic_queue_conf() argument
611 if (queue_conf && in is_valid_atomic_queue_conf()
612 !(queue_conf->event_queue_cfg & in is_valid_atomic_queue_conf()
614 ((queue_conf->event_queue_cfg & in is_valid_atomic_queue_conf()
616 (queue_conf->schedule_type in is_valid_atomic_queue_conf()
625 is_valid_ordered_queue_conf(const struct rte_event_queue_conf *queue_conf) in is_valid_ordered_queue_conf() argument
627 if (queue_conf && in is_valid_ordered_queue_conf()
628 !(queue_conf->event_queue_cfg & in is_valid_ordered_queue_conf()
630 ((queue_conf->event_queue_cfg & in is_valid_ordered_queue_conf()
632 (queue_conf->schedule_type in is_valid_ordered_queue_conf()
643 const struct rte_event_queue_conf *queue_conf) in rte_event_queue_setup() argument
657 if (is_valid_atomic_queue_conf(queue_conf)) { in rte_event_queue_setup()
658 if (queue_conf->nb_atomic_flows == 0 || in rte_event_queue_setup()
659 queue_conf->nb_atomic_flows > in rte_event_queue_setup()
663 dev_id, queue_id, queue_conf->nb_atomic_flows, in rte_event_queue_setup()
670 if (is_valid_ordered_queue_conf(queue_conf)) { in rte_event_queue_setup()
671 if (queue_conf->nb_atomic_order_sequences == 0 || in rte_event_queue_setup()
672 queue_conf->nb_atomic_order_sequences > in rte_event_queue_setup()
676 dev_id, queue_id, queue_conf->nb_atomic_order_sequences, in rte_event_queue_setup()
690 if (queue_conf == NULL) { in rte_event_queue_setup()
694 queue_conf = &def_conf; in rte_event_queue_setup()
697 dev->data->queues_cfg[queue_id] = *queue_conf; in rte_event_queue_setup()
698 rte_eventdev_trace_queue_setup(dev_id, queue_id, queue_conf); in rte_event_queue_setup()
699 return (*dev->dev_ops->queue_setup)(dev, queue_id, queue_conf); in rte_event_queue_setup()