Home
last modified time | relevance | path

Searched refs:coremask (Results 1 – 25 of 37) sorted by relevance

12

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-app-hotplug.c165 cvmx_app_hotplug_info_ptr->coremask = cvmx_app_hotplug_info_ptr->coremask & ~core_mask ; in cvmx_app_hotplug_remove_self_from_core_mask()
592 if (hip[i].coremask == coremask) in cvmx_app_hotplug_get_info()
627 if (hip[i].coremask == coremask) in cvmx_app_hotplug_get_index()
731 if (coremask & (1ull<<i)) in cvmx_app_hotplug_shutdown_request()
762 if (ai->coremask & (1ull<<i)) in cvmx_app_hotplug_call_add_cores_callback()
788 ai->unplug_cores = coremask; in cvmx_app_hotplug_unplug_cores()
796 if ( (ai->coremask | coremask ) != ai->coremask) in cvmx_app_hotplug_unplug_cores()
799 "r=%08x:%08x\n", (unsigned int)coremask, (unsigned int)ai->coremask); in cvmx_app_hotplug_unplug_cores()
802 if (ai->coremask == coremask) in cvmx_app_hotplug_unplug_cores()
805 "r=%08x:%08x\n", (unsigned int)coremask, (unsigned int)ai->coremask); in cvmx_app_hotplug_unplug_cores()
[all …]
H A Dcvmx-coremask.c76 unsigned int coremask; /**< coremask specified for barrier */ member
97 void cvmx_coremask_barrier_sync(unsigned int coremask) in cvmx_coremask_barrier_sync() argument
102 assert(coremask != 0); in cvmx_coremask_barrier_sync()
108 if (state.s[i].coremask == 0) { in cvmx_coremask_barrier_sync()
110 state.s[i].coremask = coremask; in cvmx_coremask_barrier_sync()
113 if (state.s[i].coremask == coremask) { in cvmx_coremask_barrier_sync()
118 if (state.s[i].checkin == coremask) { in cvmx_coremask_barrier_sync()
H A Dcvmx-coremask.h286 static inline int cvmx_coremask_is_member(unsigned int coremask) in cvmx_coremask_is_member() argument
288 return ((cvmx_coremask_core(cvmx_get_core_num()) & coremask) != 0); in cvmx_coremask_is_member()
299 static inline int cvmx_coremask_first_core(unsigned int coremask) in cvmx_coremask_first_core() argument
301 return cvmx_coremask_is_member(coremask) in cvmx_coremask_first_core()
303 ((cvmx_coremask_numcores(cvmx_get_core_num()) & coremask) == 0)); in cvmx_coremask_first_core()
313 extern void cvmx_coremask_barrier_sync(unsigned int coremask);
H A Dcvmx-app-hotplug.h100 uint32_t coremask; member
133 int cvmx_app_hotplug_unplug_cores(int index, uint32_t coremask, int wait);
135 int cvmx_app_hotplug_get_index(uint32_t coremask);
H A Dcvmx-power-throttle.c235 int cvmx_power_throttle(uint8_t percentage, uint64_t coremask) in cvmx_power_throttle() argument
246 if ((((uint64_t) 1) << ppid) & coremask) in cvmx_power_throttle()
H A Dcvmx-power-throttle.h88 extern int cvmx_power_throttle(uint8_t percentage, uint64_t coremask);
H A Dcvmx-app-init.c266 unsigned int coremask = cvmx_sysinfo_get()->core_mask; in exit_on_break() local
268 cvmx_coremask_barrier_sync(coremask); in exit_on_break()
269 if (cvmx_coremask_first_core(coremask)) in exit_on_break()
H A Dcvmx-debug.c301 unsigned int coremask = cvmx_debug_core_mask(); in cvmx_debug_init() local
310 cvmx_coremask_barrier_sync(coremask); in cvmx_debug_init()
325 if ((1u<<core1) & coremask) in cvmx_debug_init()
340 state.known_cores |= coremask; in cvmx_debug_init()
341 state.core_finished &= ~coremask; in cvmx_debug_init()
352 cvmx_coremask_barrier_sync(coremask); in cvmx_debug_init()
354 if (cvmx_coremask_first_core(coremask)) in cvmx_debug_init()
387 if (cvmx_coremask_first_core(coremask)) in cvmx_debug_init()
H A Dcvmx-l2c.h495 int cvmx_l2c_vrt_assign_virtid(int virtid, uint32_t coremask);
H A Dcvmx-l2c.c1367 int cvmx_l2c_vrt_assign_virtid(int virtid, uint32_t coremask) in cvmx_l2c_vrt_assign_virtid() argument
1385 if ((coremask >> core) & 1) { in cvmx_l2c_vrt_assign_virtid()
1415 (unsigned int)coremask); in cvmx_l2c_vrt_assign_virtid()
/f-stack/dpdk/app/test/
H A Dtest_mp_secondary.c60 char coremask[10]; in run_secondary_instances() local
75 prgname, "-c", coremask, "--proc-type=secondary", in run_secondary_instances()
80 prgname, "-c", coremask, "--proc-type=auto", in run_secondary_instances()
85 prgname, "-c", coremask, "--proc-type=ERROR", in run_secondary_instances()
91 prgname, "-c", coremask, "--proc-type=secondary", in run_secondary_instances()
96 snprintf(coremask, sizeof(coremask), "%x", \ in run_secondary_instances()
H A Dtest_pdump.c168 char coremask[10]; in run_pdump_server_tests() local
182 prgname, "-c", coremask, "--proc-type=secondary", in run_pdump_server_tests()
186 snprintf(coremask, sizeof(coremask), "%x", in run_pdump_server_tests()
H A Dtest_timer_secondary.c44 char coremask[10]; in timer_secondary_spawn_wait() local
57 "-c", coremask, in timer_secondary_spawn_wait()
62 snprintf(coremask, sizeof(coremask), "%x", (1 << lcore)); in timer_secondary_spawn_wait()
/f-stack/dpdk/examples/eventdev_pipeline/
H A Dmain.c50 parse_coremask(const char *coremask) in parse_coremask() argument
59 if (coremask == NULL) in parse_coremask()
64 while (isblank(*coremask)) in parse_coremask()
65 coremask++; in parse_coremask()
66 if (coremask[0] == '0' && ((coremask[1] == 'x') in parse_coremask()
67 || (coremask[1] == 'X'))) in parse_coremask()
68 coremask += 2; in parse_coremask()
69 i = strlen(coremask); in parse_coremask()
70 while ((i > 0) && isblank(coremask[i - 1])) in parse_coremask()
76 c = coremask[i]; in parse_coremask()
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_options.c564 if (coremask == NULL) in eal_parse_service_coremask()
570 coremask++; in eal_parse_service_coremask()
571 if (coremask[0] == '0' && ((coremask[1] == 'x') in eal_parse_service_coremask()
573 coremask += 2; in eal_parse_service_coremask()
574 i = strlen(coremask); in eal_parse_service_coremask()
582 c = coremask[i]; in eal_parse_service_coremask()
690 coremask++; in eal_parse_coremask()
691 if (coremask[0] == '0' && ((coremask[1] == 'x') in eal_parse_coremask()
693 coremask += 2; in eal_parse_coremask()
694 i = strlen(coremask); in eal_parse_coremask()
[all …]
/f-stack/dpdk/devtools/
H A Dtest-null.sh10 coremask=${2:-3} # default using cores 0 and 1
30 $testpmd -c $coremask --no-huge -m 20 \
/f-stack/dpdk/doc/guides/prog_guide/
H A Dservice_cores.rst29 using the service coremask, or by dynamically adding cores using the API.
30 The simpler of the two is to pass the `-s` coremask argument to EAL, which will
31 take any cores available in the main DPDK coremask, and if the bits are also set
32 in the service coremask the cores become service-cores instead of DPDK
/f-stack/lib/
H A Dff_config.c70 parse_lcore_mask(struct ff_config *cfg, const char *coremask) in parse_lcore_mask() argument
80 if (coremask == NULL) in parse_lcore_mask()
94 while (isblank(*coremask)) in parse_lcore_mask()
95 coremask++; in parse_lcore_mask()
96 if (coremask[0] == '0' && ((coremask[1] == 'x') in parse_lcore_mask()
97 || (coremask[1] == 'X'))) in parse_lcore_mask()
98 coremask += 2; in parse_lcore_mask()
100 i = strlen(coremask); in parse_lcore_mask()
101 while ((i > 0) && isblank(coremask[i - 1])) in parse_lcore_mask()
108 c = coremask[i]; in parse_lcore_mask()
[all …]
/f-stack/freebsd/mips/nlm/
H A Dxlp_machdep.c591 uint32_t coremask, val; in platform_start_ap() local
600 coremask = 1u << core; in platform_start_ap()
604 val &= ~coremask; in platform_start_ap()
609 val &= ~coremask & 0xff; in platform_start_ap()
618 } while ((val & coremask) != 0); in platform_start_ap()
/f-stack/dpdk/doc/guides/linux_gsg/
H A Dbuild_sample_apps.rst129 The coremask (-c 0x0f) or corelist (-l 0-3) parameter is always mandatory for DPDK applications.
132 it is recommended that the core layout for each platform be considered when choosing the coremask/c…
149 …en different board layouts and should be checked before selecting an application coremask/corelist.
/f-stack/doc/
H A DF-Stack_API_Reference.md19 argv:-c <coremask>,the coremask parameters can cover the coremask in configuration file
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dmulti_process.rst40 passing at least two cores in the coremask/corelist, as follows:
54 EAL: coremask set to 3
76 again run the same binary setting at least two cores in the coremask/corelist:
275 …ngle thread, the main thread, that is, the lowest numbered lcore in the coremask/corelist, perform…
276 If a coremask/corelist is specified with more than a single lcore bit set in it,
H A Dip_frag.rst69 EAL: coremask set to 14
/f-stack/dpdk/doc/guides/faq/
H A Dfaq.rst50 For example, if your EAL coremask is 0xff0, the main core will usually be the first core in the cor…
170 cores and run the application's other work on other cores using the DPDK's "coremask" setting to sp…
/f-stack/dpdk/app/test-pmd/
H A Dparameters.c270 parse_fwd_coremask(const char *coremask) in parse_fwd_coremask() argument
277 cm = strtoull(coremask, &end, 16); in parse_fwd_coremask()
278 if ((coremask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_fwd_coremask()

12