Home
last modified time | relevance | path

Searched refs:lcore_role (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_lcore.c73 return cfg->lcore_role[lcore_id]; in rte_eal_lcore_role()
84 return cfg->lcore_role[lcore_id] == role; in rte_lcore_has_role()
93 return cfg->lcore_role[lcore_id] == ROLE_RTE; in rte_lcore_is_enabled()
164 config->lcore_role[lcore_id] = ROLE_OFF; in rte_eal_cpu_init()
173 config->lcore_role[lcore_id] = ROLE_RTE; in rte_eal_cpu_init()
296 if (cfg->lcore_role[lcore_id] == ROLE_OFF) in rte_lcore_callback_register()
335 if (cfg->lcore_role[lcore_id] == ROLE_OFF) in rte_lcore_callback_unregister()
359 cfg->lcore_role[lcore_id] = ROLE_NON_EAL; in eal_lcore_non_eal_allocate()
380 cfg->lcore_role[lcore_id] = ROLE_OFF; in eal_lcore_non_eal_allocate()
401 cfg->lcore_role[lcore_id] = ROLE_OFF; in eal_lcore_non_eal_release()
[all …]
H A Deal_common_options.c607 if (cfg->lcore_role[idx] == ROLE_RTE) in eal_parse_service_coremask()
662 cfg->lcore_role[i] = ROLE_RTE; in update_lcore_config()
665 cfg->lcore_role[i] = ROLE_OFF; in update_lcore_config()
763 if (cfg->lcore_role[idx] != ROLE_SERVICE) { in eal_parse_service_corelist()
773 if (cfg->lcore_role[idx] == ROLE_RTE) in eal_parse_service_corelist()
1058 cfg->lcore_role[idx] = ROLE_OFF; in eal_parse_lcores()
1120 if (cfg->lcore_role[idx] != ROLE_RTE) { in eal_parse_lcores()
1122 cfg->lcore_role[idx] = ROLE_RTE; in eal_parse_lcores()
1793 if (cfg->lcore_role[lcore_id] == ROLE_RTE && in eal_auto_detect_cores()
1795 cfg->lcore_role[lcore_id] = ROLE_OFF; in eal_auto_detect_cores()
[all …]
H A Deal_private.h50 enum rte_lcore_role_t lcore_role[RTE_MAX_LCORE]; /**< State of cores. */ member
H A Drte_service.c643 cfg->lcore_role[lcore] = state; in set_lcore_state()