Lines Matching refs:queues_cfg
208 struct rte_event_queue_conf *queues_cfg; in rte_event_dev_queue_config() local
215 if (dev->data->queues_cfg == NULL && nb_queues != 0) { in rte_event_dev_queue_config()
217 dev->data->queues_cfg = rte_zmalloc_socket( in rte_event_dev_queue_config()
219 sizeof(dev->data->queues_cfg[0]) * nb_queues, in rte_event_dev_queue_config()
221 if (dev->data->queues_cfg == NULL) { in rte_event_dev_queue_config()
228 } else if (dev->data->queues_cfg != NULL && nb_queues != 0) { in rte_event_dev_queue_config()
235 queues_cfg = dev->data->queues_cfg; in rte_event_dev_queue_config()
236 queues_cfg = rte_realloc(queues_cfg, in rte_event_dev_queue_config()
237 sizeof(queues_cfg[0]) * nb_queues, in rte_event_dev_queue_config()
239 if (queues_cfg == NULL) { in rte_event_dev_queue_config()
244 dev->data->queues_cfg = queues_cfg; in rte_event_dev_queue_config()
249 memset(queues_cfg + old_nb_queues, 0, in rte_event_dev_queue_config()
250 sizeof(queues_cfg[0]) * new_qs); in rte_event_dev_queue_config()
252 } else if (dev->data->queues_cfg != NULL && nb_queues == 0) { in rte_event_dev_queue_config()
697 dev->data->queues_cfg[queue_id] = *queue_conf; in rte_event_queue_setup()
908 conf = &dev->data->queues_cfg[queue_id]; in rte_event_queue_attr_get()