Lines Matching refs:dev_info
43 struct rte_eth_dev_info dev_info; in port_init_common() local
50 retval = rte_eth_dev_info_get(port, &dev_info); in port_init_common()
54 default_params.rx_rings = RTE_MIN(dev_info.max_rx_queues, in port_init_common()
203 struct rte_event_dev_info dev_info; in testsuite_setup() local
220 err = rte_event_dev_info_get(TEST_DEV_ID, &dev_info); in testsuite_setup()
221 config.nb_event_queue_flows = dev_info.max_event_queue_flows; in testsuite_setup()
223 dev_info.max_event_port_dequeue_depth; in testsuite_setup()
225 dev_info.max_event_port_enqueue_depth; in testsuite_setup()
227 dev_info.max_num_events; in testsuite_setup()
262 struct rte_event_dev_info dev_info; in testsuite_setup_rx_intr() local
279 err = rte_event_dev_info_get(TEST_DEV_ID, &dev_info); in testsuite_setup_rx_intr()
280 config.nb_event_queue_flows = dev_info.max_event_queue_flows; in testsuite_setup_rx_intr()
282 dev_info.max_event_port_dequeue_depth; in testsuite_setup_rx_intr()
284 dev_info.max_event_port_enqueue_depth; in testsuite_setup_rx_intr()
286 dev_info.max_num_events; in testsuite_setup_rx_intr()
375 struct rte_event_dev_info dev_info; in adapter_create() local
380 err = rte_event_dev_info_get(TEST_DEV_ID, &dev_info); in adapter_create()
383 rx_p_conf.new_event_threshold = dev_info.max_num_events; in adapter_create()
384 rx_p_conf.dequeue_depth = dev_info.max_event_port_dequeue_depth; in adapter_create()
385 rx_p_conf.enqueue_depth = dev_info.max_event_port_enqueue_depth; in adapter_create()