Searched refs:nr_ports (Results 1 – 6 of 6) sorted by relevance
| /f-stack/dpdk/drivers/event/octeontx2/ |
| H A D | otx2_evdev_selftest.c | 658 uint32_t nr_ports; in test_multi_queue_enq_multi_port_deq() local 668 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multi_queue_enq_multi_port_deq() 670 if (!nr_ports) { in test_multi_queue_enq_multi_port_deq() 916 uint32_t nr_ports; in test_multiport_flow_sched_type_test() local 922 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multiport_flow_sched_type_test() 924 if (!nr_ports) { in test_multiport_flow_sched_type_test() 1074 uint32_t nr_ports; in test_multiport_queue_sched_type_test() local 1081 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multiport_queue_sched_type_test() 1223 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in launch_multi_port_max_stages_random_sched_type() 1225 if (!nr_ports) { in launch_multi_port_max_stages_random_sched_type() [all …]
|
| /f-stack/dpdk/drivers/event/octeontx/ |
| H A D | ssovf_evdev_selftest.c | 670 uint32_t nr_ports; in test_multi_queue_enq_multi_port_deq() local 680 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multi_queue_enq_multi_port_deq() 682 if (!nr_ports) { in test_multi_queue_enq_multi_port_deq() 930 uint32_t nr_ports; in test_multiport_flow_sched_type_test() local 936 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multiport_flow_sched_type_test() 938 if (!nr_ports) { in test_multiport_flow_sched_type_test() 1086 uint32_t nr_ports; in test_multiport_queue_sched_type_test() local 1093 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multiport_queue_sched_type_test() 1235 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in launch_multi_port_max_stages_random_sched_type() 1237 if (!nr_ports) { in launch_multi_port_max_stages_random_sched_type() [all …]
|
| /f-stack/dpdk/examples/flow_filtering/ |
| H A D | main.c | 224 uint16_t nr_ports; in main() local 235 nr_ports = rte_eth_dev_count_avail(); in main() 236 if (nr_ports == 0) in main() 239 if (nr_ports != 1) { in main() 241 nr_ports, port_id); in main()
|
| /f-stack/dpdk/drivers/event/dpaa2/ |
| H A D | dpaa2_eventdev_selftest.c | 559 uint32_t nr_ports; in test_multi_queue_enq_multi_port_deq() local 568 &nr_ports), "Port count get failed"); in test_multi_queue_enq_multi_port_deq() 569 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multi_queue_enq_multi_port_deq() 571 if (!nr_ports) { in test_multi_queue_enq_multi_port_deq() 573 __func__, nr_ports, rte_lcore_count() - 1); in test_multi_queue_enq_multi_port_deq() 579 nr_ports, 0xff /* invalid */); in test_multi_queue_enq_multi_port_deq() 709 uint32_t nr_ports = 0; in test_queue_to_port_multi_link() local 720 &nr_ports), "Port count get failed"); in test_queue_to_port_multi_link() 722 if (nr_ports < 2) { in test_queue_to_port_multi_link() 724 __func__, nr_ports); in test_queue_to_port_multi_link() [all …]
|
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | main.c | 903 uint16_t nr_ports; in flows_handler() local 914 nr_ports = rte_eth_dev_count_avail(); in flows_handler() 929 for (port_id = 0; port_id < nr_ports; port_id++) { in flows_handler() 1291 uint16_t nr_ports; in init_port() local 1310 nr_ports = rte_eth_dev_count_avail(); in init_port() 1311 if (nr_ports == 0) in init_port() 1321 for (port_id = 0; port_id < nr_ports; port_id++) { in init_port()
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | octeontx.rst | 125 the number of interesting ports with ``nr_ports`` argument.
|