| 2103 | |
| 2104 | #ifdef RTE_LIB_EVENTDEV |
| 2105 | static inline void |
| 2106 | eventdev_conf_default_set(struct rte_event_dev_config *dev_conf, struct rte_event_dev_info *info) |
| 2107 | { |
| 2108 | memset(dev_conf, 0, sizeof(struct rte_event_dev_config)); |
| 2109 | dev_conf->dequeue_timeout_ns = info->min_dequeue_timeout_ns; |
| 2110 | dev_conf->nb_event_ports = 1; |
| 2111 | dev_conf->nb_event_queues = 1; |
| 2112 | dev_conf->nb_event_queue_flows = info->max_event_queue_flows; |
| 2113 | dev_conf->nb_event_port_dequeue_depth = info->max_event_port_dequeue_depth; |
| 2114 | dev_conf->nb_event_port_enqueue_depth = info->max_event_port_enqueue_depth; |
| 2115 | dev_conf->nb_event_port_enqueue_depth = info->max_event_port_enqueue_depth; |
| 2116 | dev_conf->nb_events_limit = info->max_num_events; |
| 2117 | } |
| 2118 | |
| 2119 | static inline int |
| 2120 | eventdev_setup(void) |
no test coverage detected