Lines Matching refs:opt
161 evt_configure_eventdev(struct evt_options *opt, uint8_t nb_queues, in evt_configure_eventdev() argument
168 ret = rte_event_dev_info_get(opt->dev_id, &info); in evt_configure_eventdev()
170 evt_err("failed to get eventdev info %d", opt->dev_id); in evt_configure_eventdev()
174 if (opt->deq_tmo_nsec) { in evt_configure_eventdev()
175 if (opt->deq_tmo_nsec < info.min_dequeue_timeout_ns) { in evt_configure_eventdev()
176 opt->deq_tmo_nsec = info.min_dequeue_timeout_ns; in evt_configure_eventdev()
178 opt->deq_tmo_nsec); in evt_configure_eventdev()
180 if (opt->deq_tmo_nsec > info.max_dequeue_timeout_ns) { in evt_configure_eventdev()
181 opt->deq_tmo_nsec = info.max_dequeue_timeout_ns; in evt_configure_eventdev()
183 opt->deq_tmo_nsec); in evt_configure_eventdev()
188 .dequeue_timeout_ns = opt->deq_tmo_nsec, in evt_configure_eventdev()
193 .nb_event_queue_flows = opt->nb_flows, in evt_configure_eventdev()
200 return rte_event_dev_configure(opt->dev_id, &config); in evt_configure_eventdev()