| /f-stack/dpdk/app/test-pipeline/ |
| H A D | runtime.c | 56 app.ports[i], in app_main_loop_rx() 58 app.mbuf_rx.array, in app_main_loop_rx() 59 app.burst_size_rx_read); in app_main_loop_rx() 66 app.rings_rx[i], in app_main_loop_rx() 90 app.rings_rx[i], in app_main_loop_worker() 100 app.rings_tx[i ^ 1], in app_main_loop_worker() 121 app.rings_tx[i], in app_main_loop_tx() 123 app.burst_size_tx_read, in app_main_loop_tx() 137 app.ports[i], in app_main_loop_tx() 139 app.mbuf_tx[i].array, in app_main_loop_tx() [all …]
|
| H A D | init.c | 46 struct app_params app = { variable 111 app.pool = rte_pktmbuf_pool_create("mempool", app.pool_size, in app_init_mbuf_pools() 112 app.pool_cache_size, 0, app.pool_buffer_size, rte_socket_id()); in app_init_mbuf_pools() 113 if (app.pool == NULL) in app_init_mbuf_pools() 129 app.ring_rx_size, in app_init_rings() 144 app.ring_tx_size, in app_init_rings() 166 port = app.ports[i]; in app_ports_check_link() 199 port = app.ports[i]; in app_init_ports() 220 app.port_rx_ring_size, in app_init_ports() 223 app.pool); in app_init_ports() [all …]
|
| H A D | config.c | 70 app.n_ports = 0; in app_parse_port_mask() 75 if (app.n_ports >= APP_MAX_PORTS) in app_parse_port_mask() 78 app.ports[app.n_ports] = i; in app_parse_port_mask() 79 app.n_ports++; in app_parse_port_mask() 82 if (!rte_is_power_of_2(app.n_ports)) in app_parse_port_mask() 180 app.core_rx = lcores[0]; in app_parse_args() 181 app.core_worker = lcores[1]; in app_parse_args() 182 app.core_tx = lcores[2]; in app_parse_args() 187 app.pipeline_type = e_APP_PIPELINE_HASH_KEY16_LRU; in app_parse_args() 207 app.pipeline_type = in app_parse_args()
|
| H A D | pipeline_lpm.c | 47 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm() 49 .ring = app.rings_rx[i], in app_main_loop_worker_pipeline_lpm() 57 .burst_size = app.burst_size_worker_read, in app_main_loop_worker_pipeline_lpm() 67 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm() 69 .ring = app.rings_tx[i], in app_main_loop_worker_pipeline_lpm() 70 .tx_burst_sz = app.burst_size_worker_write, 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() 127 .depth = 8 + __builtin_popcount(app.n_ports - 1), in app_main_loop_worker_pipeline_lpm() [all …]
|
| H A D | pipeline_lpm_ipv6.c | 44 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_lpm_ipv6() 46 .ring = app.rings_rx[i], in app_main_loop_worker_pipeline_lpm_ipv6() 54 .burst_size = app.burst_size_worker_read, 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() 66 .ring = app.rings_tx[i], in app_main_loop_worker_pipeline_lpm_ipv6() 67 .tx_burst_sz = app.burst_size_worker_write, 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() 129 __builtin_popcount(app.n_ports - 1))); in app_main_loop_worker_pipeline_lpm_ipv6() [all …]
|
| H A D | pipeline_stub.c | 38 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_stub() 40 .ring = app.rings_rx[i], in app_main_loop_worker_pipeline_stub() 48 .burst_size = app.burst_size_worker_read, in app_main_loop_worker_pipeline_stub() 58 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_stub() 60 .ring = app.rings_tx[i], in app_main_loop_worker_pipeline_stub() 61 .tx_burst_sz = app.burst_size_worker_write, 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 D | pipeline_hash.c | 26 switch (app.pipeline_type) { in translate_options() 107 .ring = app.rings_rx[i], in app_main_loop_worker_pipeline_hash() 127 .ring = app.rings_tx[i], in app_main_loop_worker_pipeline_hash() 167 switch (app.pipeline_type) { in app_main_loop_worker_pipeline_hash() 330 for (i = 0; i < app.n_ports; i++) in app_main_loop_worker_pipeline_hash() 418 app.ports[i], in app_main_loop_rx_metadata() 420 app.mbuf_rx.array, in app_main_loop_rx_metadata() 421 app.burst_size_rx_read); in app_main_loop_rx_metadata() 435 m = app.mbuf_rx.array[j]; in app_main_loop_rx_metadata() 463 app.rings_rx[i], in app_main_loop_rx_metadata() [all …]
|
| H A D | pipeline_acl.c | 104 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_acl() 106 .ring = app.rings_rx[i], in app_main_loop_worker_pipeline_acl() 114 .burst_size = app.burst_size_worker_read, in app_main_loop_worker_pipeline_acl() 124 for (i = 0; i < app.n_ports; i++) { in app_main_loop_worker_pipeline_acl() 126 .ring = app.rings_tx[i], in app_main_loop_worker_pipeline_acl() 127 .tx_burst_sz = app.burst_size_worker_write, 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() 193 8 + __builtin_popcount(app.n_ports - 1); in app_main_loop_worker_pipeline_acl() [all …]
|
| H A D | main.c | 85 if (lcore == app.core_rx) { in app_lcore_main_loop() 86 switch (app.pipeline_type) { in app_lcore_main_loop() 97 if (lcore == app.core_worker) { in app_lcore_main_loop() 98 switch (app.pipeline_type) { in app_lcore_main_loop() 151 if (lcore == app.core_tx) { in app_lcore_main_loop()
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | main.c | 25 } app = { variable 82 app.conn.addr = strdup(optarg); in parse_args() 83 if (app.conn.addr == NULL) { in parse_args() 116 app.script_name = strdup(optarg); in parse_args() 117 if (app.script_name == NULL) { in parse_args() 172 if (app.script_name) in main() 173 cli_script_process(app.script_name, in main() 174 app.conn.msg_in_len_max, in main() 175 app.conn.msg_out_len_max, in main() 179 app.conn.msg_handle_arg = obj; in main() [all …]
|
| /f-stack/freebsd/contrib/alpine-hal/ |
| H A D | al_hal_pcie.c | 1034 pcie_port->regs->app.debug = ®s->app.debug; in al_pcie_port_handle_init() 1044 pcie_port->regs->app.ctrl_gen = ®s->app.ctrl_gen; in al_pcie_port_handle_init() 1045 pcie_port->regs->app.parity = ®s->app.parity; in al_pcie_port_handle_init() 1048 pcie_port->regs->app.int_grp_a = ®s->app.int_grp_a; in al_pcie_port_handle_init() 1049 pcie_port->regs->app.int_grp_b = ®s->app.int_grp_b; in al_pcie_port_handle_init() 1104 pcie_port->regs->app.debug = ®s->app.debug; in al_pcie_port_handle_init() 1118 pcie_port->regs->app.ctrl_gen = ®s->app.ctrl_gen; in al_pcie_port_handle_init() 1119 pcie_port->regs->app.parity = ®s->app.parity; in al_pcie_port_handle_init() 1211 pcie_port->regs->app.debug = ®s->app.debug; in al_pcie_port_handle_init() 1229 pcie_port->regs->app.ctrl_gen = ®s->app.ctrl_gen; in al_pcie_port_handle_init() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | main.c | 39 } app = { variable 95 app.conn.addr = strdup(optarg); in parse_args() 96 if (app.conn.addr == NULL) { in parse_args() 114 app.conn.port = (uint16_t) atoi(optarg); in parse_args() 129 app.script_name = strdup(optarg); in parse_args() 130 if (app.script_name == NULL) { in parse_args() 165 conn = conn_init(&app.conn); in main() 256 if (app.script_name) in main() 257 cli_script_process(app.script_name, in main() 258 app.conn.msg_in_len_max, in main() [all …]
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_pipe.c | 281 if (app->app_auid == auid) in audit_pipe_preselect_find() 282 return (app); in audit_pipe_preselect_find() 299 if (app != NULL) { in audit_pipe_preselect_get() 300 *maskp = app->app_mask; in audit_pipe_preselect_get() 324 if (app == NULL) { in audit_pipe_preselect_set() 325 app = app_new; in audit_pipe_preselect_set() 327 app->app_auid = auid; in audit_pipe_preselect_set() 330 app->app_mask = mask; in audit_pipe_preselect_set() 347 if (app != NULL) { in audit_pipe_preselect_delete() 353 if (app != NULL) in audit_pipe_preselect_delete() [all …]
|
| /f-stack/dpdk/drivers/net/i40e/base/ |
| H A D | i40e_dcb.c | 360 struct i40e_cee_app_prio *app; in i40e_parse_cee_app_tlv() local 378 if (app->prio_map & BIT(up)) in i40e_parse_cee_app_tlv() 381 dcbcfg->app[i].priority = up; in i40e_parse_cee_app_tlv() 397 dcbcfg->app[i].protocolid = I40E_NTOHS(app->protocol); in i40e_parse_cee_app_tlv() 399 offset += sizeof(*app); in i40e_parse_cee_app_tlv() 641 dcbcfg->app[0].priority = in i40e_cee_to_dcb_v1_config() 648 dcbcfg->app[1].priority = in i40e_cee_to_dcb_v1_config() 655 dcbcfg->app[2].priority = in i40e_cee_to_dcb_v1_config() 722 dcbcfg->app[i].priority = in i40e_cee_to_dcb_config() 738 dcbcfg->app[i].priority = in i40e_cee_to_dcb_config() [all …]
|
| /f-stack/freebsd/contrib/ngatm/netnatm/sig/ |
| H A D | sig_reset.c | 206 struct uni_msg *app; in start_t316() local 217 UNIAPI_RESET_ERROR_indication, 0, app); in start_t316() 248 struct uni_msg *app; in start_restart_ack() local 405 struct uni_msg *app; in start_status() local 416 UNIAPI_RESET_STATUS_indication, 0, app); in start_status() 420 struct uni_msg *app; in start_status() local 535 struct uni_msg *app; in response_restart() local 618 struct uni_msg *app; in response_t317() local 633 UNIAPI_RESET_ERROR_indication, 0, app); in response_t317() 791 struct uni_msg *app; in response_status() local [all …]
|
| /f-stack/dpdk/ |
| H A D | MAINTAINERS | 272 F: app/*/*_neon.* 296 F: app/*/*_sse* 297 F: app/*/*_avx* 411 F: app/test-bbdev/ 444 F: app/test-regex/ 1322 F: app/test-sad/ 1363 F: app/pdump/ 1389 F: app/test-acl/ 1434 F: app/test-fib/ 1573 F: app/test-pmd/ [all …]
|
| /f-stack/ |
| H A D | .gitignore | 25 app/nginx-1.11.10/objs/ 26 app/nginx-1.11.10/Makefile 27 app/nginx-1.16.0/objs/ 28 app/nginx-1.16.0/Makefile
|
| /f-stack/freebsd/x86/acpica/ |
| H A D | acpi_apm.c | 167 acpi_capm_get_pwstatus(apm_pwstatus_t app) in acpi_capm_get_pwstatus() argument 173 if (app->ap_device != PMDV_ALLDEV && in acpi_capm_get_pwstatus() 174 (app->ap_device < PMDV_BATT0 || app->ap_device > PMDV_BATT_ALL)) in acpi_capm_get_pwstatus() 177 if (app->ap_device == PMDV_ALLDEV) in acpi_capm_get_pwstatus() 180 unit = app->ap_device - PMDV_BATT0; in acpi_capm_get_pwstatus() 190 app->ap_batt_stat = acpi_capm_convert_battstate(&batt); in acpi_capm_get_pwstatus() 191 app->ap_batt_flag = acpi_capm_convert_battflags(&batt); in acpi_capm_get_pwstatus() 192 app->ap_batt_life = batt.cap; in acpi_capm_get_pwstatus() 193 app->ap_batt_time = (batt.min == -1) ? -1 : batt.min * 60; in acpi_capm_get_pwstatus() 196 app->ap_acline = APM_UNKNOWN; in acpi_capm_get_pwstatus() [all …]
|
| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_dcb.c | 316 dcbcfg->app[i].priority = ((buf[offset] & in ice_parse_ieee_app_tlv() 319 dcbcfg->app[i].selector = ((buf[offset] & in ice_parse_ieee_app_tlv() 464 struct ice_cee_app_prio *app; in ice_parse_cee_app_tlv() local 470 dcbcfg->numapps = len / sizeof(*app); in ice_parse_cee_app_tlv() 481 if (app->prio_map & BIT(up)) in ice_parse_cee_app_tlv() 484 dcbcfg->app[i].priority = up; in ice_parse_cee_app_tlv() 497 dcbcfg->app[i].selector = selector; in ice_parse_cee_app_tlv() 500 dcbcfg->app[i].prot_id = NTOHS(app->protocol); in ice_parse_cee_app_tlv() 502 offset += sizeof(*app); in ice_parse_cee_app_tlv() 819 u8 sel = cmp_dcbcfg->app[j].selector; in ice_cee_to_dcb_cfg() [all …]
|
| /f-stack/dpdk/doc/guides/ |
| H A D | conf.py | 122 def process_numref(app, doctree, from_docname): argument 138 data = app.builder.env.domains['std'].data 140 relative_url = app.builder.get_relative_uri(from_docname, docname) 377 def setup(app): argument 434 app.add_role('numref', numref_role) 436 app.connect('doctree-resolved', process_numref) 440 app.add_css_file('css/custom.css') 442 app.add_stylesheet('css/custom.css')
|
| /f-stack/dpdk/examples/ethtool/ |
| H A D | meson.build | 15 'ethtool-app/ethapp.c', 16 'ethtool-app/main.c') 17 includes = include_directories('lib', 'ethtool-app')
|
| H A D | Makefile | 4 subdirs := lib ethtool-app 9 ethtool-app: lib
|
| /f-stack/app/redis-5.0.5/deps/hiredis/examples/ |
| H A D | example-qt.cpp | 38 QCoreApplication app(argc, argv); in main() local 42 QObject::connect(&example, SIGNAL(finished()), &app, SLOT(quit())); in main() 45 return app.exec(); in main()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_trace_register.c | 9 RTE_TRACE_POINT_REGISTER(app_dpdk_test_tp, app.dpdk.test.tp) 10 RTE_TRACE_POINT_REGISTER(app_dpdk_test_fp, app.dpdk.test.fp)
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | null.rst | 17 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev net_null0 --vdev net_null1 -- -i 29 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i 38 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,size=256" -- -i
|