Home
last modified time | relevance | path

Searched refs:n_ports (Results 1 – 10 of 10) sorted by relevance

/dpdk/app/test-pipeline/
H A Dpipeline_lpm.c47 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm()
67 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm()
112 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_lpm()
119 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm()
122 {.port_id = port_out_id[i & (app.n_ports - 1)]}, in app_main_loop_worker_pipeline_lpm()
126 .ip = i << (24 - __builtin_popcount(app.n_ports - 1)), in app_main_loop_worker_pipeline_lpm()
127 .depth = 8 + __builtin_popcount(app.n_ports - 1), in app_main_loop_worker_pipeline_lpm()
152 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_lpm()
H A Dpipeline_lpm_ipv6.c44 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm_ipv6()
64 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm_ipv6()
108 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_lpm_ipv6()
115 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm_ipv6()
118 {.port_id = port_out_id[i & (app.n_ports - 1)]}, in app_main_loop_worker_pipeline_lpm_ipv6()
126 key.depth = 8 + __builtin_popcount(app.n_ports - 1); in app_main_loop_worker_pipeline_lpm_ipv6()
129 __builtin_popcount(app.n_ports - 1))); in app_main_loop_worker_pipeline_lpm_ipv6()
150 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_lpm_ipv6()
H A Dpipeline_stub.c38 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_stub()
58 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_stub()
78 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_stub()
93 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_stub()
100 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_stub()
114 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_stub()
H A Dpipeline_acl.c104 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_acl()
124 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_acl()
169 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_acl()
176 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_acl()
179 {.port_id = port_out_id[i & (app.n_ports - 1)]}, in app_main_loop_worker_pipeline_acl()
191 i << (24 - __builtin_popcount(app.n_ports - 1)); in app_main_loop_worker_pipeline_acl()
193 8 + __builtin_popcount(app.n_ports - 1); in app_main_loop_worker_pipeline_acl()
228 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_acl()
H A Dconfig.c69 app.n_ports = 0; in app_parse_port_mask()
74 if (app.n_ports >= APP_MAX_PORTS) in app_parse_port_mask()
77 app.ports[app.n_ports] = i; in app_parse_port_mask()
78 app.n_ports++; in app_parse_port_mask()
81 if (!rte_is_power_of_2(app.n_ports)) in app_parse_port_mask()
H A Dinit.c47 .n_ports = APP_MAX_PORTS,
121 for (i = 0; i < app.n_ports; i++) { in app_init_rings()
136 for (i = 0; i < app.n_ports; i++) { in app_init_rings()
160 for (i = 0; i < app.n_ports; i++) { in app_ports_check_link()
194 for (i = 0; i < app.n_ports; i++) { in app_init_ports()
H A Druntime.c51 for (i = 0; ; i = ((i + 1) & (app.n_ports - 1))) { in app_main_loop_rx()
85 for (i = 0; ; i = ((i + 1) & (app.n_ports - 1))) { in app_main_loop_worker()
113 for (i = 0; ; i = ((i + 1) & (app.n_ports - 1))) { in app_main_loop_tx()
H A Dpipeline_hash.c105 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_hash()
125 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_hash()
330 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_hash()
340 {.port_id = port_out_id[i & (app.n_ports - 1)]}, in app_main_loop_worker_pipeline_hash()
358 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_hash()
414 for (i = 0; ; i = ((i + 1) & (app.n_ports - 1))) { in app_main_loop_rx_metadata()
H A Dmain.h29 uint32_t n_ports; member
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_telemetry.c41 int n_ports; in ethdev_tel_handle_info() local
43 n_ports = rte_eth_dev_count_avail(); in ethdev_tel_handle_info()
44 if (!n_ports) { in ethdev_tel_handle_info()
50 rte_tel_data_add_dict_int(d, "n_ports", n_ports); in ethdev_tel_handle_info()