| /dpdk/app/test-pipeline/ |
| H A D | runtime.c | 55 app.ports[i], in app_main_loop_rx() 57 app.mbuf_rx.array, in app_main_loop_rx() 58 app.burst_size_rx_read); in app_main_loop_rx() 65 app.rings_rx[i], in app_main_loop_rx() 89 app.rings_rx[i], in app_main_loop_worker() 99 app.rings_tx[i ^ 1], in app_main_loop_worker() 120 app.rings_tx[i], in app_main_loop_tx() 122 app.burst_size_tx_read, in app_main_loop_tx() 136 app.ports[i], in app_main_loop_tx() 138 app.mbuf_tx[i].array, in app_main_loop_tx() [all …]
|
| H A D | init.c | 45 struct app_params app = { variable 110 app.pool = rte_pktmbuf_pool_create("mempool", app.pool_size, in app_init_mbuf_pools() 111 app.pool_cache_size, 0, app.pool_buffer_size, rte_socket_id()); in app_init_mbuf_pools() 112 if (app.pool == NULL) in app_init_mbuf_pools() 128 app.ring_rx_size, in app_init_rings() 143 app.ring_tx_size, in app_init_rings() 165 port = app.ports[i]; in app_ports_check_link() 198 port = app.ports[i]; in app_init_ports() 219 app.port_rx_ring_size, in app_init_ports() 222 app.pool); in app_init_ports() [all …]
|
| H A D | config.c | 69 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() 179 app.core_rx = lcores[0]; in app_parse_args() 180 app.core_worker = lcores[1]; in app_parse_args() 181 app.core_tx = lcores[2]; in app_parse_args() 186 app.pipeline_type = e_APP_PIPELINE_HASH_KEY16_LRU; in app_parse_args() 206 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 | 84 if (lcore == app.core_rx) { in app_lcore_main_loop() 85 switch (app.pipeline_type) { in app_lcore_main_loop() 96 if (lcore == app.core_worker) { in app_lcore_main_loop() 97 switch (app.pipeline_type) { in app_lcore_main_loop() 150 if (lcore == app.core_tx) { in app_lcore_main_loop()
|
| /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 …]
|
| /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 …]
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_dcb.c | 366 struct i40e_cee_app_prio *app; in i40e_parse_cee_app_tlv() local 384 if (app->prio_map & BIT(up)) in i40e_parse_cee_app_tlv() 387 dcbcfg->app[i].priority = up; in i40e_parse_cee_app_tlv() 403 dcbcfg->app[i].protocolid = I40E_NTOHS(app->protocol); in i40e_parse_cee_app_tlv() 405 offset += sizeof(*app); in i40e_parse_cee_app_tlv() 647 dcbcfg->app[0].priority = in i40e_cee_to_dcb_v1_config() 654 dcbcfg->app[1].priority = in i40e_cee_to_dcb_v1_config() 661 dcbcfg->app[2].priority = in i40e_cee_to_dcb_v1_config() 728 dcbcfg->app[i].priority = in i40e_cee_to_dcb_config() 744 dcbcfg->app[i].priority = in i40e_cee_to_dcb_config() [all …]
|
| /dpdk/ |
| H A D | MAINTAINERS | 288 F: app/*/*_neon.* 312 F: app/*/*_sse* 313 F: app/*/*_avx* 426 F: app/test-bbdev/ 459 F: app/test-regex/ 1437 F: app/test-sad/ 1483 F: app/pdump/ 1485 F: app/dumpcap/ 1511 F: app/test-acl/ 1558 F: app/test-fib/ [all …]
|
| /dpdk/doc/guides/ |
| H A D | conf.py | 81 def process_numref(app, doctree, from_docname): argument 97 data = app.builder.env.domains['std'].data 99 relative_url = app.builder.get_relative_uri(from_docname, docname) 333 def setup(app): argument 435 app.add_role('numref', numref_role) 437 app.connect('doctree-resolved', process_numref) 441 app.add_css_file('css/custom.css') 443 app.add_stylesheet('css/custom.css')
|
| /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() 859 u8 sel = cmp_dcbcfg->app[j].selector; in ice_cee_to_dcb_cfg() [all …]
|
| /dpdk/examples/ethtool/ |
| H A D | meson.build | 16 'ethtool-app/ethapp.c', 17 'ethtool-app/main.c', 19 includes = include_directories('lib', 'ethtool-app')
|
| H A D | Makefile | 4 subdirs := lib ethtool-app 9 ethtool-app: lib
|
| /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)
|
| /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
|
| /dpdk/app/ |
| H A D | meson.build | 29 foreach app:apps 31 name = app 52 message('Missing dependency "@0@" for app "@1@"'.format(d, name))
|
| /dpdk/devtools/ |
| H A D | test-null.sh | 15 [ -f "$testpmd" ] || testpmd=$build/app/dpdk-testpmd 16 [ -f "$testpmd" ] || testpmd=$build/app/testpmd
|
| /dpdk/doc/guides/tools/ |
| H A D | dumpcap.rst | 33 Refer ``app/test-pmd/testpmd.c`` code to see how this is done. 54 # <build_dir>/app/dpdk-dumpcap --list-interfaces 58 # <build_dir>/app/dpdk-dumpcap -I 0000:00:03.0 -c 6 -w /tmp/sample.pcapng 62 # <build_dir>/app/dpdk-dumpcap -f 'tcp port 80'
|
| H A D | testbbdev.rst | 37 Indicates the path to the bbdev test app. If not specified path is set based 38 on "../.." concatenated with "*/build/app/dpdk-test-bbdev*". 41 Specifies EAL arguments which are passed to the test app. For more details, 60 on "../.." concatenated with "*/app/test-bbdev/test_vectors/bbdev_null.data*" 65 ``./test-bbdev.py -v app/test-bbdev/test_vectors/turbo_dec_test1.data`` 69 The bbdev test app is executed twice. First time vector is filled based on 204 ./test-bbdev.py -v app/test-bbdev/turbo_*_default.data 241 |-- app 246 |-- app 254 ./test-bbdev.py -p ../../build/app/dpdk-test-bbdev [all …]
|
| /dpdk/doc/guides/contributing/ |
| H A D | unit_test.rst | 39 DPDK tests are run via the main test runner, the `dpdk-test` app. 40 The `dpdk-test` app is a command-line interface that facilitates 48 $ ./build/app/test/dpdk-test --dpdk-options-here 92 The unit test app can accept test suite names via command line arguments:: 146 [2543/2543] Linking target app/test/dpdk-test. 160 [2543/2543] Linking target app/test/dpdk-test. 209 see *app/test/test_cryptodev.c*. 364 [2543/2543] Linking target app/test/dpdk-test. 396 editing the appropriate Meson build file `app/test/meson.build` 424 $ ./build/app/test/dpdk-test --vdev crypto_aesni_mb [all …]
|
| /dpdk/lib/pcapng/ |
| H A D | rte_pcapng.c | 85 const char *app, const char *comment) in pcapng_section_block() argument 98 if (app) in pcapng_section_block() 99 len += pcapng_optlen(strlen(app)); in pcapng_section_block() 132 if (app) in pcapng_section_block() 134 app, strlen(app)); in pcapng_section_block()
|