Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 100) sorted by relevance

1234

/dpdk/lib/pipeline/
H A Drte_swx_pipeline_internal.h1059 struct thread { struct
1106 #define HEADER_VALID(thread, header_id) \ argument
1107 MASK64_BIT_GET((thread)->valid_headers, header_id)
1110 instr_operand_hbo(struct thread *t, const struct instr_operand *x) in instr_operand_hbo()
1123 instr_operand_nbo(struct thread *t, const struct instr_operand *x) in instr_operand_nbo()
1138 #define ALU(thread, ip, operator) \ argument
1140 uint8_t *dst_struct = (thread)->structs[(ip)->alu.dst.struct_id]; \
1146 uint8_t *src_struct = (thread)->structs[(ip)->alu.src.struct_id]; \
1159 #define ALU_MH(thread, ip, operator) \ argument
1161 uint8_t *dst_struct = (thread)->structs[(ip)->alu.dst.struct_id]; \
[all …]
H A Drte_swx_pipeline.c196 struct thread *t = &p->threads[i]; in struct_build()
211 struct thread *t = &p->threads[i]; in struct_build_free()
592 struct thread *t = &p->threads[i]; in mirroring_build_free()
616 struct thread *t = &p->threads[i]; in mirroring_build()
891 struct thread *t = &p->threads[i]; in extern_obj_build()
926 struct thread *t = &p->threads[i]; in extern_obj_build_free()
1102 struct thread *t = &p->threads[i]; in extern_func_build()
1135 struct thread *t = &p->threads[i]; in extern_func_build_free()
1479 n_headers_max = RTE_SIZEOF_FIELD(struct thread, valid_headers) * 8; in rte_swx_pipeline_packet_header_register()
1511 struct thread *t = &p->threads[i]; in header_build()
[all …]
/dpdk/doc/guides/mempool/
H A Dring.rst14 The underlying **rte_ring** operates in multi-thread producer,
15 multi-thread consumer sync mode. For more information please refer to:
20 The underlying **rte_ring** operates in single-thread producer,
21 single-thread consumer sync mode. For more information please refer to:
26 The underlying **rte_ring** operates in single-thread producer,
27 multi-thread consumer sync mode.
31 The underlying **rte_ring** operates in multi-thread producer,
32 single-thread consumer sync mode.
37 multi-thread Relaxed Tail Sync (RTS) mode. For more information please
43 multi-thread Head-Tail Sync (HTS) mode. For more information please
[all …]
H A Dstack.rst33 the stack lock, that thread will block all other mempool accesses until it
38 The lock-free stack, by design, is not susceptible to this problem; one thread can
40 the progress of any other thread.
/dpdk/examples/pipeline/
H A Dthread.c50 struct __rte_cache_aligned thread { struct
58 static struct thread threads[RTE_MAX_LCORE]; argument
70 struct thread *t = &threads[thread_id]; in thread_init()
92 struct thread *t = &threads[thread_id]; in thread_init()
112 struct thread *t = &threads[thread_id]; in pipeline_find()
132 struct thread *t = &threads[thread_id]; in block_find()
165 struct thread *t; in pipeline_enable()
227 struct thread *t; in pipeline_disable()
267 struct thread *t; in block_enable()
300 struct thread *t; in block_disable()
[all …]
H A Dmeson.build21 'thread.c',
/dpdk/doc/guides/sample_app_ug/
H A Dpipeline.rst17 …h pipeline is mapped to a specific application thread. Multiple pipelines can be mapped to the sam…
109 The main thread is creating and managing all the application objects based on CLI input.
111 Each data plane thread runs one or several pipelines previously assigned to it in round-robin order…
116 #. *Message handling task*: Periodically, the data plane thread pauses the packet processing task a…
117 …messages send by the main thread. Examples: add/remove pipeline to/from current data plane thread,…
118 …to/from given table of a specific pipeline owned by the current data plane thread, read statistics…
H A Deventdev_pipeline.rst122 worker 12 thread done. RX=4966581 TX=4966581
123 worker 13 thread done. RX=4963329 TX=4963329
124 worker 14 thread done. RX=4953614 TX=4953614
125 worker 0 thread done. RX=0 TX=0
126 worker 11 thread done. RX=4970549 TX=4970549
127 worker 10 thread done. RX=4986391 TX=4986391
128 worker 9 thread done. RX=4970528 TX=4970528
129 worker 15 thread done. RX=4974087 TX=4974087
130 worker 8 thread done. RX=4979908 TX=4979908
131 worker 2 thread done. RX=0 TX=0
H A Ddist_app.rst66 thread (``lcore_rx()``), a distributor thread (``lcore_dist()``), a set of
67 worker threads (``lcore_worker()``), and a transmit thread(``lcore_tx()``).
69 The ``main()`` function launches threads of these four types. Each thread
73 The receive thread receives the packets using ``rte_eth_rx_burst()`` and will
74 enqueue them to an rte_ring. The distributor thread will dequeue the packets
79 tag. The distributor thread communicates with the worker threads using a
83 More than one worker thread can exist as part of the application, and these
87 and then finally returning the packets back to the distributor thread.
89 The distributor thread will then call the distributor api
91 them to another rte_ring for transfer to the TX thread for transmission on the
[all …]
H A Dip_pipeline.rst17 … to application threads, with each pipeline executed by a single thread and each thread able to run
125 The main thread is creating and managing all the application objects based on CLI input.
127 Each data plane thread runs one or several pipelines previously assigned to it in round-robin order…
132 #. *Message handling task*: Periodically, the data plane thread pauses the packet processing task a…
133 …messages send by the main thread. Examples: add/remove pipeline to/from current data plane thread,…
134 …to/from given table of a specific pipeline owned by the current data plane thread, read statistics…
528 Enable given pipeline instance for specific data plane thread ::
530 thread <thread_id> pipeline <pipeline_name> enable
533 Disable given pipeline instance for specific data plane thread ::
535 thread <thread_id> pipeline <pipeline_name> disable
/dpdk/drivers/net/softnic/
H A Dfirmware.cli5 # -c <core_mask> argument), core 0 is running the control thread doing configuration and CLI, core 1
6 # is running the forwarding thread, and core 2 is setup as service core (see the -s <core_mask>
39 thread 2 pipeline RX enable
40 thread 2 pipeline TX enable
H A Drte_eth_softnic_thread.c24 struct softnic_thread *t = &softnic->thread[i]; in softnic_thread_free()
41 struct softnic_thread *t = &softnic->thread[i]; in softnic_thread_init()
124 struct softnic_thread *t = &softnic->thread[thread_id]; in thread_sc_service_up()
177 struct softnic_thread *t = &softnic->thread[thread_id]; in thread_sc_service_down()
258 struct softnic_thread *t = &softnic->thread[thread_id]; in thread_msg_send_recv()
/dpdk/lib/eal/include/
H A Drte_per_lcore.h23 __declspec(thread) type per_lcore_##name
26 extern __declspec(thread) type per_lcore_##name
/dpdk/lib/eal/common/
H A Deal_common_trace_points.c70 lib.eal.thread.remote.launch)
72 lib.eal.thread.lcore.ready)
74 lib.eal.thread.lcore.running)
76 lib.eal.thread.lcore.stopped)
H A Deal_common_thread.c286 rte_thread_create_control(rte_thread_t *thread, const char *name, in rte_thread_create_control() argument
302 ret = rte_thread_create(thread, NULL, control_thread_start, params); in rte_thread_create_control()
309 rte_thread_set_name(*thread, name); in rte_thread_create_control()
321 rte_thread_join(*thread, NULL); in rte_thread_create_control()
/dpdk/doc/guides/compressdevs/
H A Dqat_comp.rst45 * Queue-pairs are thread-safe on Intel CPUs but Queues are not (that is, within a single
46 queue-pair all enqueues to the TX queue must be done from one thread and all dequeues
47 from the RX queue must be done from one thread, but enqueues and dequeues may be done
/dpdk/lib/eal/windows/include/
H A Dpthread.h43 #define pthread_cancel(thread) !TerminateThread((HANDLE) thread, 0) argument
/dpdk/doc/guides/vdpadevs/
H A Dmlx5.rst61 - 0, Completion queue scheduling will be managed by a timer thread which
64 - 1, Completion queue scheduling will be managed by a timer thread with fixed
76 - 0, A nonzero value to set timer step in micro-seconds. The timer thread
90 The CPU core number of the timer thread, default: EAL main lcore.
101 All the threads will be open on the same core of the event completion queue scheduling thread.
105 - 1 - 256, number of internal threads in addition to the caller thread (8 is suggested).
108 for all the multi-thread configurations in the driver.
H A Difc.rst32 thread when LM happens, this thread will help device to log dirty pages. Thus
44 route HW interrupt to virtio driver, create notify relay thread to translate
/dpdk/app/test/
H A Dprocess.h83 rte_thread_t thread; in process_dup() local
180 rc = rte_thread_create(&thread, NULL, send_pkts, NULL); in process_dup()
195 rte_thread_join(thread, NULL); in process_dup()
/dpdk/doc/guides/prog_guide/
H A Dstack_lib.rst37 index, and a spinlock. Accesses to the stack are made multi-thread safe by the
48 and one thread being preempted/delayed in a push or pop operation will not
49 impede the forward progress of any other thread.
81 but its pointed-to data is different than what thread A read.
85 In this case thread A would not detect that the list had changed, and would
/dpdk/examples/ip_pipeline/examples/
H A Drss.cli109 thread 1 pipeline PIPELINE0 enable
110 thread 2 pipeline PIPELINE1 enable
111 thread 3 pipeline PIPELINE2 enable
112 thread 4 pipeline PIPELINE3 enable
/dpdk/examples/pipeline/examples/
H A Dipsec.cli56 pipeline PIPELINE0 enable thread 1
57 block type ipsec instance IPSEC0 enable thread 1
/dpdk/doc/guides/nics/
H A Dsoftnic.rst154 thread 2 pipeline RX enable
155 thread 2 pipeline TX enable
264 * Enable pipeline on CPU thread
268 thread 2 pipeline RX enable (Soft NIC rx pipeline enable on cpu thread id 2)
269 thread 2 pipeline TX enable (Soft NIC tx pipeline enable on cpu thread id 2)
362 thread 2 pipeline RX enable
363 thread 2 pipeline TX enable
/dpdk/drivers/dma/skeleton/
H A Dskeleton_dmadev.h49 rte_thread_t thread; /* cpuwork task thread */ member

1234