| /f-stack/dpdk/app/test-eventdev/ |
| H A D | evt_options.h | 53 evt_lcores_has_overlap(bool lcores[], int lcore) in evt_lcores_has_overlap() argument 55 if (lcores[lcore] == true) { in evt_lcores_has_overlap() 78 evt_has_active_lcore(bool lcores[]) in evt_has_active_lcore() argument 83 if (lcores[i]) in evt_has_active_lcore() 89 evt_nr_active_lcores(bool lcores[]) in evt_nr_active_lcores() argument 95 if (lcores[i]) in evt_nr_active_lcores() 101 evt_get_first_active_lcore(bool lcores[]) in evt_get_first_active_lcore() argument 106 if (lcores[i]) in evt_get_first_active_lcore() 112 evt_has_disabled_lcore(bool lcores[]) in evt_has_disabled_lcore() argument 117 if ((lcores[i] == true) && !(rte_lcore_is_enabled(i))) in evt_has_disabled_lcore()
|
| H A D | parser.c | 313 parse_lcores_list(bool lcores[], const char *corelist) in parse_lcores_list() argument 347 if (lcores[idx] == 1) in parse_lcores_list() 349 lcores[idx] = 1; in parse_lcores_list()
|
| H A D | test_pipeline_common.c | 108 unsigned int lcores; in pipeline_opt_check() local 111 lcores = 2; in pipeline_opt_check() 125 if (rte_lcore_count() < lcores) { in pipeline_opt_check() 126 evt_err("test need minimum %d lcores", lcores); in pipeline_opt_check()
|
| H A D | parser.h | 49 int parse_lcores_list(bool lcores[], const char *corelist);
|
| H A D | test_perf_common.c | 542 unsigned int lcores; in perf_opt_check() local 547 lcores = opt->prod_type == EVT_PROD_TYPE_SYNT ? 3 : 2; in perf_opt_check() 549 if (rte_lcore_count() < lcores) { in perf_opt_check() 550 evt_err("test need minimum %d lcores", lcores); in perf_opt_check()
|
| /f-stack/dpdk/app/test-pipeline/ |
| H A D | config.c | 156 uint32_t lcores[3], n_lcores, lcore_id, pipeline_type_provided; in app_parse_args() local 170 lcores[n_lcores] = lcore_id; in app_parse_args() 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()
|
| /f-stack/dpdk/lib/librte_eal/windows/ |
| H A D | eal_lcore.c | 33 struct lcore_map lcores[RTE_MAX_LCORE]; member 116 if (cpu_map.lcore_count == RTE_DIM(cpu_map.lcores)) { in eal_create_cpu_map() 121 lcore = &cpu_map.lcores[cpu_map.lcore_count]; in eal_create_cpu_map() 153 return cpu_map.lcores[lcore_id].socket_id; in eal_cpu_socket_id() 159 return cpu_map.lcores[lcore_id].core_id; in eal_cpu_core_id()
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | test.sh | 63 ./build/l3fwd-thread -c ff -n 2 --lcores="2,(0-1)@0" -- -P -p 3 \ 75 ./build/l3fwd-thread -c ff -n 2 --lcores="(0-3)@0,4" -- -P -p 3 \ 86 ./build/l3fwd-thread -c 3ffff -n 2 --lcores="(0-7)@0,8" -- -P -p 3 \ 97 ./build/l3fwd-thread -c 3ffff -n 2 --lcores="(0-15)@0,16" -- -P -p 3 \
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_options.c | 1047 if (lcores == NULL) in eal_parse_lcores() 1052 lcores++; in eal_parse_lcores() 1066 lcores++; in eal_parse_lcores() 1067 if (*lcores == '\0') in eal_parse_lcores() 1073 lcore_start = lcores; in eal_parse_lcores() 1077 lcores += strcspn(lcores, ")"); in eal_parse_lcores() 1083 lcores += strcspn(lcores, "@,"); in eal_parse_lcores() 1085 if (*lcores == '@') { in eal_parse_lcores() 1093 end = lcores; in eal_parse_lcores() 1110 if (*lcores != '@') in eal_parse_lcores() [all …]
|
| /f-stack/dpdk/examples/l2fwd-cat/ |
| H A D | cat.c | 771 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);
|
| /f-stack/dpdk/doc/guides/linux_gsg/ |
| H A D | eal_args.include.rst | 18 * ``--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
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | service_cores.rst | 8 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 D | packet_distrib_lib.rst | 11 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 D | glossary.rst | 31 A core may include several lcores or threads if the processor supports 129 other lcores.
|
| H A D | writing_efficient_code.rst | 49 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,
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | ioat.rst | 68 provided parameters. The app can use up to 2 lcores: one of them receives 78 To run the application in a Linux environment with 3 lcores (the main lcore, 86 To run the application in a Linux environment with 2 lcores (the main lcore, 207 /* Check if there is enough lcores for all ports. */ 223 application have to assign ring structures for packet exchanging between lcores 312 Finally ``main()`` function starts all packet handling lcores and starts 315 all worker lcores to finish, deallocates resources and exits. 317 The processing lcores launching function are described below. 349 The function launches Rx/Tx processing functions on configured lcores 351 and number of assigned lcores are stored in user-defined [all …]
|
| H A D | bbdev_app.rst | 53 * ``e ENCODING_CORES``: hexmask for encoding lcores (default = 0x2) 54 * ``d DECODING_CORES``: hexmask for decoding lcores (default = 0x4)
|
| H A D | ip_frag.rst | 64 To run the example in linux environment with 2 lcores (2,4) over 2 ports(0,2) with 1 RX queue per l… 136 in that all the memory structures are allocated on all sockets that have active lcores on them.
|
| H A D | kernel_nic_interface.rst | 109 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 D | qos_scheduler.rst | 79 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 D | l2_forward_real_virtual.rst | 109 To run the application in linux environment with 4 lcores, 16 ports and 8 RX queues per lcore and M… 116 To run the application in linux environment with 4 lcores, 4 ports, 8 RX queues 241 The number of TX queues depends on the number of available lcores. 262 the application will need four lcores to poll all the ports.
|
| H A D | l3_forward_graph.rst | 191 cannot be shared between lcores. Since ``ethdev_tx-X`` node is per port node, 192 it can be associated with all the graphs created as all the lcores should have 300 forwarding data is updated with nodes, worker lcores will be launched with graph
|
| /f-stack/dpdk/examples/multi_process/symmetric_mp/ |
| H A D | main.c | 282 const unsigned int lcores = rte_lcore_count(); in assign_ports_to_cores() local 284 const unsigned pairs_per_lcore = port_pairs / lcores; in assign_ports_to_cores() 285 unsigned extra_pairs = port_pairs % lcores; in assign_ports_to_cores()
|
| /f-stack/dpdk/doc/guides/tools/ |
| H A D | comp_perf.rst | 54 To run tests on two lcores, three lcores must be passed to the tool.
|
| /f-stack/dpdk/doc/guides/mempool/ |
| H A D | stack.rst | 12 packet-processing workloads (which allocate and free mbufs on different lcores)
|