Lines Matching refs:nb_queues

205 rte_event_dev_queue_config(struct rte_eventdev *dev, uint8_t nb_queues)  in rte_event_dev_queue_config()  argument
207 uint8_t old_nb_queues = dev->data->nb_queues; in rte_event_dev_queue_config()
211 RTE_EDEV_LOG_DEBUG("Setup %d queues on device %u", nb_queues, in rte_event_dev_queue_config()
215 if (dev->data->queues_cfg == NULL && nb_queues != 0) { in rte_event_dev_queue_config()
219 sizeof(dev->data->queues_cfg[0]) * nb_queues, in rte_event_dev_queue_config()
222 dev->data->nb_queues = 0; in rte_event_dev_queue_config()
224 "nb_queues %u", nb_queues); in rte_event_dev_queue_config()
228 } else if (dev->data->queues_cfg != NULL && nb_queues != 0) { in rte_event_dev_queue_config()
231 for (i = nb_queues; i < old_nb_queues; i++) in rte_event_dev_queue_config()
237 sizeof(queues_cfg[0]) * nb_queues, in rte_event_dev_queue_config()
241 " nb_queues %u", nb_queues); in rte_event_dev_queue_config()
246 if (nb_queues > old_nb_queues) { in rte_event_dev_queue_config()
247 uint8_t new_qs = nb_queues - old_nb_queues; in rte_event_dev_queue_config()
252 } else if (dev->data->queues_cfg != NULL && nb_queues == 0) { in rte_event_dev_queue_config()
255 for (i = nb_queues; i < old_nb_queues; i++) in rte_event_dev_queue_config()
259 dev->data->nb_queues = nb_queues; in rte_event_dev_queue_config()
578 if (queue_id < dev->data->nb_queues && queue_id < in is_valid_queue()
839 *attr_value = dev->data->nb_queues; in rte_event_dev_attr_get()
964 for (i = 0; i < dev->data->nb_queues; i++) in rte_event_port_link()
968 nb_links = dev->data->nb_queues; in rte_event_port_link()
979 if (queues[i] >= dev->data->nb_queues) { in rte_event_port_link()
1029 for (i = 0; i < dev->data->nb_queues; i++) { in rte_event_port_unlink()
1047 if (queues[i] >= dev->data->nb_queues) { in rte_event_port_unlink()
1105 for (i = 0; i < dev->data->nb_queues; i++) { in rte_event_port_links_get()
1566 for (i = 0; i < dev->data->nb_queues; i++) in handle_queue_list()