Lines Matching refs:queue_conf

497 				 struct rte_event_queue_conf *queue_conf)  in rte_event_queue_default_conf_get()  argument
504 if (queue_conf == NULL) in rte_event_queue_default_conf_get()
513 memset(queue_conf, 0, sizeof(struct rte_event_queue_conf)); in rte_event_queue_default_conf_get()
514 (*dev->dev_ops->queue_def_conf)(dev, queue_id, queue_conf); in rte_event_queue_default_conf_get()
519 is_valid_atomic_queue_conf(const struct rte_event_queue_conf *queue_conf) in is_valid_atomic_queue_conf() argument
521 if (queue_conf && in is_valid_atomic_queue_conf()
522 !(queue_conf->event_queue_cfg & in is_valid_atomic_queue_conf()
524 ((queue_conf->event_queue_cfg & in is_valid_atomic_queue_conf()
526 (queue_conf->schedule_type in is_valid_atomic_queue_conf()
535 is_valid_ordered_queue_conf(const struct rte_event_queue_conf *queue_conf) in is_valid_ordered_queue_conf() argument
537 if (queue_conf && in is_valid_ordered_queue_conf()
538 !(queue_conf->event_queue_cfg & in is_valid_ordered_queue_conf()
540 ((queue_conf->event_queue_cfg & in is_valid_ordered_queue_conf()
542 (queue_conf->schedule_type in is_valid_ordered_queue_conf()
553 const struct rte_event_queue_conf *queue_conf) in rte_event_queue_setup() argument
567 if (is_valid_atomic_queue_conf(queue_conf)) { in rte_event_queue_setup()
568 if (queue_conf->nb_atomic_flows == 0 || in rte_event_queue_setup()
569 queue_conf->nb_atomic_flows > in rte_event_queue_setup()
573 dev_id, queue_id, queue_conf->nb_atomic_flows, in rte_event_queue_setup()
580 if (is_valid_ordered_queue_conf(queue_conf)) { in rte_event_queue_setup()
581 if (queue_conf->nb_atomic_order_sequences == 0 || in rte_event_queue_setup()
582 queue_conf->nb_atomic_order_sequences > in rte_event_queue_setup()
586 dev_id, queue_id, queue_conf->nb_atomic_order_sequences, in rte_event_queue_setup()
600 if (queue_conf == NULL) { in rte_event_queue_setup()
604 queue_conf = &def_conf; in rte_event_queue_setup()
607 dev->data->queues_cfg[queue_id] = *queue_conf; in rte_event_queue_setup()
608 rte_eventdev_trace_queue_setup(dev_id, queue_id, queue_conf); in rte_event_queue_setup()
609 return (*dev->dev_ops->queue_setup)(dev, queue_id, queue_conf); in rte_event_queue_setup()