Home
last modified time | relevance | path

Searched refs:nr_ports (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/event/octeontx/
H A Dssovf_evdev_selftest.c670 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 …]
/dpdk/drivers/event/cnxk/
H A Dcnxk_eventdev_selftest.c669 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()
938 uint32_t nr_ports; in test_multiport_flow_sched_type_test() local
945 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multiport_flow_sched_type_test()
947 if (!nr_ports) { in test_multiport_flow_sched_type_test()
1095 uint32_t nr_ports; in test_multiport_queue_sched_type_test() local
1103 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in test_multiport_queue_sched_type_test()
1243 nr_ports = RTE_MIN(nr_ports, rte_lcore_count() - 1); in launch_multi_port_max_stages_random_sched_type()
1245 if (!nr_ports) { in launch_multi_port_max_stages_random_sched_type()
[all …]
/dpdk/drivers/event/dpaa2/
H A Ddpaa2_eventdev_selftest.c559 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 …]
/dpdk/examples/flow_filtering/
H A Dmain.c238 uint16_t nr_ports; in main() local
251 nr_ports = rte_eth_dev_count_avail(); in main()
252 if (nr_ports == 0) in main()
255 if (nr_ports != 1) { in main()
257 nr_ports, port_id); in main()
/dpdk/app/test-flow-perf/
H A Dmain.c1076 uint16_t nr_ports; in create_meter_policy() local
1082 nr_ports = rte_eth_dev_count_avail(); in create_meter_policy()
1107 uint16_t nr_ports; in destroy_meter_policy() local
1110 nr_ports = rte_eth_dev_count_avail(); in destroy_meter_policy()
1238 uint16_t nr_ports; in destroy_meter_profile() local
1241 nr_ports = rte_eth_dev_count_avail(); in destroy_meter_profile()
1260 uint16_t nr_ports; in create_meter_profile() local
1270 nr_ports = rte_eth_dev_count_avail(); in create_meter_profile()
1478 uint16_t nr_ports; in flows_handler() local
1958 uint16_t nr_ports; in init_port() local
[all …]
/dpdk/doc/guides/nics/
H A Docteontx.rst125 the number of interesting ports with ``nr_ports`` argument.