Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 44) sorted by relevance

12

/dpdk/app/test-pipeline/
H A Druntime.c58 app.mbuf_rx.array, in app_main_loop_rx()
67 (void **) app.mbuf_rx.array, in app_main_loop_rx()
93 (void **) worker_mbuf->array, in app_main_loop_worker()
103 (void **) worker_mbuf->array, in app_main_loop_worker()
126 (void **) &app.mbuf_tx[i].array[n_mbufs], in app_main_loop_tx()
143 app.mbuf_tx[i].array, in app_main_loop_tx()
152 pkt_to_free = app.mbuf_tx[i].array[k]; in app_main_loop_tx()
H A Dmain.h13 struct rte_mbuf *array[APP_MBUF_ARRAY_SIZE]; member
/dpdk/lib/table/
H A Drte_table_array.c43 alignas(RTE_CACHE_LINE_SIZE) uint8_t array[]; member
135 table_entry = &t->array[k->pos * t->entry_size]; in rte_table_array_entry_add()
165 entries[i] = (void *) &t->array[entry_pos * in rte_table_array_lookup()
176 entries[pkt_index] = (void *) &t->array[entry_pos * in rte_table_array_lookup()
188 struct rte_table_array *array = table; in rte_table_array_stats_read() local
191 memcpy(stats, &array->stats, sizeof(array->stats)); in rte_table_array_stats_read()
194 memset(&array->stats, 0, sizeof(array->stats)); in rte_table_array_stats_read()
/dpdk/examples/ip_pipeline/examples/
H A Droute_ecmp.cli39 pipeline PIPELINE0 table match array offset 256 size 64K action APNH
54 pipeline PIPELINE0 table 1 rule add match array 0 action fwd port 0 encap ether a0:a1:a2:a3:a4:a5 0…
55 pipeline PIPELINE0 table 1 rule add match array 1 action fwd port 1 encap ether b0:b1:b2:b3:b4:b5 1…
56 pipeline PIPELINE0 table 1 rule add match array 2 action fwd port 2 encap ether c0:c1:c2:c3:c4:c5 2…
57 pipeline PIPELINE0 table 1 rule add match array 3 action fwd port 3 encap ether d0:d1:d2:d3:d4:d5 3…
/dpdk/lib/telemetry/
H A Dtelemetry_data.c60 const size_t bytes = strlcpy(d->data.array[d->data_len++].sval, in rte_tel_data_add_array_string()
72 d->data.array[d->data_len++].ival = x; in rte_tel_data_add_array_int()
83 d->data.array[d->data_len++].uval = x; in rte_tel_data_add_array_uint()
105 d->data.array[d->data_len].container.data = val; in rte_tel_data_add_array_container()
106 d->data.array[d->data_len++].container.keep = !!keep; in rte_tel_data_add_array_container()
H A Dtelemetry.c199 d->data.array[i].uval); in container_to_json()
204 d->data.array[i].ival); in container_to_json()
209 d->data.array[i].sval); in container_to_json()
334 d->data.array[i].sval); in output_json()
338 d->data.array[i].ival); in output_json()
342 d->data.array[i].uval); in output_json()
350 &d->data.array[i].container;
H A Dtelemetry_data.h48 union tel_value array[RTE_TEL_MAX_ARRAY_ENTRIES]; member
/dpdk/examples/pipeline/examples/
H A Dmeter.spec4 ; This program is setting up an array of Two Rate Three Color Marker (trTCM) meters called "meters".
10 ; meter in the array.
H A Dregisters.spec7 ; "byte_counters" array accumulates the value of the IPv4 header "Total Length" field.
10 ; any register array location.
/dpdk/doc/guides/prog_guide/
H A Dptr_compress_lib.rst92 ptrs_send, /* source array to be compressed */
93 zcd.ptr1, /* destination array to store offsets */
119 zcd.ptr1, /* source array to decompress */
120 ptrs_recv, /* destination array to store pointers */
H A Dcmdline.rst113 * A command-line context array definition, suitable for passing to ``cmdline_new``
181 The first parameter to the function call should be the context array in the generated header file,
369 but instead only uses a subset of the ports, stored in an array called ``active_ports``.
371 so we pass this ``active_ports`` array.
372 (For simplicity of illustration, we shall assume that the array uses a terminating marker,
397 we need to merge these into a single array of command-line "contexts".
398 This context array will be used to create the actual command-line instance in the application.
400 so our array is defined by simply listing out the previously defined command parse instances.
H A Dstack_lib.rst36 The lock-based stack consists of a contiguous array of pointers, a current
/dpdk/lib/member/
H A Drte_member_sketch.c56 isort(uint64_t *array, int n) in isort() argument
61 uint64_t t = array[i]; in isort()
65 if (t < array[j]) in isort()
66 array[j + 1] = array[j]; in isort()
70 array[j + 1] = t; in isort()
/dpdk/devtools/cocci/
H A Dzero_length_array.cocci1 // Replace zero-length array members with []
/dpdk/examples/ip_pipeline/
H A Dpipeline.c730 struct rte_table_array_params array; in pipeline_table_create() member
802 if (params->match.array.n_keys == 0) in pipeline_table_create()
805 pp.array.n_entries = params->match.array.n_keys; in pipeline_table_create()
806 pp.array.offset = params->match.array.key_offset; in pipeline_table_create()
809 p.arg_create = &pp.array; in pipeline_table_create()
H A Dpipeline.h135 struct table_array_params array; member
269 struct table_rule_match_array array; member
/dpdk/drivers/net/mlx4/
H A Dmeson.build86 # input array for meson member search:
94 # input array for meson symbol search:
/dpdk/lib/eal/include/
H A Drte_service.h342 * This function fills in an application supplied array, with each element
347 * @param [out] array An array of at least rte_service_lcore_count() items.
349 * @param [out] n The size of *array*.
350 * @retval >=0 Number of service cores that have been populated in the array
351 * @retval -ENOMEM The provided array is not large enough to fill in the
355 int32_t rte_service_lcore_list(uint32_t array[], uint32_t n);
/dpdk/drivers/net/ionic/
H A Dionic_rxtx.c29 ionic_empty_array(void **array, uint32_t free_idx, uint32_t zero_idx) in ionic_empty_array() argument
34 if (array[i]) in ionic_empty_array()
35 rte_pktmbuf_free_seg(array[i]); in ionic_empty_array()
37 memset(array, 0, sizeof(void *) * zero_idx); in ionic_empty_array()
/dpdk/drivers/common/mlx5/linux/
H A Dmeson.build65 # input array for meson member search:
80 # input array for meson symbol search:
/dpdk/drivers/net/tap/bpf/
H A DREADME41 managing the BPF and the actual BPF code as a large byte array.
/dpdk/lib/eal/common/
H A Drte_service.c99 EAL_LOG(ERR, "error allocating rte services array"); in rte_service_init()
560 rte_service_lcore_list(uint32_t array[], uint32_t n) in rte_service_lcore_list()
566 if (!array) in rte_service_lcore_list()
575 array[idx] = i; in rte_service_lcore_list()
557 rte_service_lcore_list(uint32_t array[],uint32_t n) rte_service_lcore_list() argument
/dpdk/doc/guides/sample_app_ug/
H A Dvm_power_management.rst761 array of integers
763 An array with a list of hour values (0-23).
795 array of integers
797 An array with a list of virtual CPUs.
810 array of strings
812 An array with a list of MAC address strings.
882 array of integers
884 An array with a list of hour numbers with values in the range 0 to 23.
H A Dip_pipeline.rst159 …| | * Key = byte array | | 3. Pipeline create …
371 | array
428 | array <pos>
/dpdk/
H A Dmeson.build65 # able to be included in any file. We also store a global array of include dirs

12