Home
last modified time | relevance | path

Searched refs:lcores (Results 1 – 25 of 61) sorted by relevance

123

/dpdk/app/test-eventdev/
H A Devt_options.h62 evt_lcores_has_overlap(bool lcores[], int lcore) in evt_lcores_has_overlap() argument
64 if (lcores[lcore] == true) { in evt_lcores_has_overlap()
87 evt_has_active_lcore(bool lcores[]) in evt_has_active_lcore() argument
92 if (lcores[i]) in evt_has_active_lcore()
98 evt_nr_active_lcores(bool lcores[]) in evt_nr_active_lcores() argument
104 if (lcores[i]) in evt_nr_active_lcores()
110 evt_get_first_active_lcore(bool lcores[]) in evt_get_first_active_lcore() argument
115 if (lcores[i]) in evt_get_first_active_lcore()
121 evt_has_disabled_lcore(bool lcores[]) in evt_has_disabled_lcore() argument
126 if ((lcores[i] == true) && !(rte_lcore_is_enabled(i))) in evt_has_disabled_lcore()
H A Dparser.c313 parse_lcores_list(bool lcores[], int lcores_num, const char *corelist) in parse_lcores_list() argument
349 if (lcores[idx] == 1) in parse_lcores_list()
351 lcores[idx] = 1; in parse_lcores_list()
H A Dparser.h49 int parse_lcores_list(bool lcores[], int lcores_num, const char *corelist);
H A Dtest_pipeline_common.c113 unsigned int lcores; in pipeline_opt_check() local
116 lcores = 2; in pipeline_opt_check()
130 if (rte_lcore_count() < lcores) { in pipeline_opt_check()
131 evt_err("test need minimum %d lcores", lcores); in pipeline_opt_check()
/dpdk/app/test-pipeline/
H A Dconfig.c155 uint32_t lcores[3], n_lcores, lcore_id, pipeline_type_provided; in app_parse_args() local
169 lcores[n_lcores] = lcore_id; in app_parse_args()
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()
/dpdk/lib/eal/common/
H A Deal_common_options.c1170 if (lcores == NULL) in eal_parse_lcores()
1175 lcores++; in eal_parse_lcores()
1189 lcores++; in eal_parse_lcores()
1190 if (*lcores == '\0') in eal_parse_lcores()
1196 lcore_start = lcores; in eal_parse_lcores()
1200 lcores += strcspn(lcores, ")"); in eal_parse_lcores()
1206 lcores += strcspn(lcores, "@,"); in eal_parse_lcores()
1208 if (*lcores == '@') { in eal_parse_lcores()
1216 end = lcores; in eal_parse_lcores()
1233 if (*lcores != '@') in eal_parse_lcores()
[all …]
/dpdk/lib/eal/windows/
H A Deal_lcore.c33 struct lcore_map lcores[RTE_MAX_LCORE]; member
141 if (cpu_map.lcore_count == RTE_DIM(cpu_map.lcores)) in eal_create_lcore_map()
144 lcore = &cpu_map.lcores[cpu_map.lcore_count]; in eal_create_lcore_map()
232 return cpu_map.lcores[lcore_id].socket_id; in eal_cpu_socket_id()
238 return cpu_map.lcores[lcore_id].core_id; in eal_cpu_core_id()
/dpdk/examples/l2fwd-cat/
H A Dcat.c771 unsigned lcores[PQOS_MAX_SOCKET_CORES] = {0}; local
773 unsigned int *lcores = NULL;
780 PQOS_MAX_SOCKET_CORES, &lcount, &lcores[0]);
783 lcores = pqos_cpu_get_cores(m_cpu, m_sockets[i],
785 if (lcores == NULL || lcount == 0) {
796 ret = pqos_l3ca_assoc_get(lcores[n], &class_id);
798 ret = pqos_alloc_assoc_get(lcores[n], &class_id);
801 printf("PQOS: CPU: %u, COS: %u\n", lcores[n],
804 printf("PQOS: CPU: %u, ERROR\n", lcores[n]);
808 free(lcores);
/dpdk/doc/guides/sample_app_ug/
H A Ddma.rst74 provided parameters. The app can use up to 2 lcores: one of them receives
84 To run the application in a Linux environment with 3 lcores (the main lcore,
92 To run the application in a Linux environment with 2 lcores (the main lcore,
192 Ring structures are assigned for exchanging packets between lcores for both SW
227 Finally ``main()`` function starts all packet handling lcores and starts
230 all worker lcores to finish, deallocates resources and exits.
232 The processing lcores launching function are described below.
246 The function launches Rx/Tx processing functions on configured lcores
248 and number of assigned lcores are stored in user-defined
253 :start-after: Configuring ports and number of assigned lcores in struct. 8<
[all …]
H A Dqos_scheduler.rst79 by the I/O RX lcores (the default value is 128).
82 by the I/O RX lcores to send packets to worker lcores (the default value is 8192).
85 by worker lcores (the default value is 256)
H A Dbbdev_app.rst53 * ``e ENCODING_CORES``: hexmask for encoding lcores (default = 0x2)
54 * ``d DECODING_CORES``: hexmask for decoding lcores (default = 0x4)
H A Dip_frag.rst64 To run the example in linux environment with 2 lcores (2,4) over 2 ports(0,2) with 1 RX queue per l…
120 in that all the memory structures are allocated on all sockets that have active lcores on them.
H A Dl3_forward_graph.rst144 cannot be shared between lcores. Since ``ethdev_tx-X`` node is per port node,
145 it can be associated with all the graphs created as all the lcores should have
186 forwarding data is updated with nodes, worker lcores will be launched with graph
H A Dkernel_nic_interface.rst109 Determines which lcores the Rx and Tx DPDK tasks, and (optionally)
133 include the lcores specified by ``lcore_rx`` and ``lcore_tx`` for each port,
134 but does not need to include lcores specified by ``lcore_kthread`` as those
290 is the association of each port with lcores for RX, TX and kernel threads.
296 * Other lcores for pinning the kernel threads on one by one
H A Dl2_forward_real_virtual.rst115 To run the application in linux environment with 4 lcores, 16 ports and 8 RX queues per lcore and M…
122 To run the application in linux environment with 4 lcores, 4 ports, 8 RX queues
206 The number of TX queues depends on the number of available lcores.
225 the application will need four lcores to poll all the ports.
H A Dlink_status_intr.rst52 To run the application in a linux environment with 4 lcores, 4 memory channels, 16 ports and 8 RX q…
97 The number of TX queues depends on the number of available lcores.
159 the application will need four lcores to poll all the ports.
/dpdk/doc/guides/linux_gsg/
H A Deal_args.include.rst18 * ``--lcores <core map>``
24 <lcores[@cpus]>[<,lcores[@cpus]>...]
30 The ``@`` can be omitted if cpus and lcores have the same value.
33 At a given instance only one core option ``--lcores``, ``-l`` or ``-c`` can
/dpdk/doc/guides/prog_guide/
H A Dservice_cores.rst8 performing work on DPDK lcores. Service core support is built into the EAL, and
13 require CPU cycles to operate) and service cores (DPDK lcores, tasked with
33 application lcores.
H A Dpacket_distrib_lib.rst11 and a set of worker lcores which are responsible for receiving the packets from the distributor and…
31 #. The worker lcores all share a single cache line with the distributor core in order to pass mess…
62 If worker lcores buffer up packets internally for transmission in bulk afterwards,
H A Dglossary.rst31 A core may include several lcores or threads if the processor supports
129 other lcores.
H A Dwriting_efficient_code.rst49 Read-Write (RW) access operations by several lcores to the same memory area can generate a lot of d…
58 Read-mostly variables can be shared among lcores without performance losses if there are no RW vari…
96 Communication Between lcores
99 To provide a message-based communication between lcores,
/dpdk/examples/multi_process/symmetric_mp/
H A Dmain.c295 const unsigned int lcores = rte_lcore_count(); in assign_ports_to_cores() local
297 const unsigned pairs_per_lcore = port_pairs / lcores; in assign_ports_to_cores()
298 unsigned extra_pairs = port_pairs % lcores; in assign_ports_to_cores()
/dpdk/doc/guides/tools/
H A Dcomp_perf.rst54 To run tests on two lcores, three lcores must be passed to the tool.
/dpdk/doc/guides/bbdevs/
H A Dla12xx.rst101 "-l", "--num-lcores" : Number of lcores to run (default=16).
/dpdk/doc/guides/mempool/
H A Dstack.rst12 packet-processing workloads (which allocate and free mbufs on different lcores)

123