Home
last modified time | relevance | path

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

/dpdk/lib/eal/common/
H A Deal_common_lcore.c68 return cfg->lcore_role[lcore_id]; in rte_eal_lcore_role()
79 return cfg->lcore_role[lcore_id] == role; in rte_lcore_has_role()
88 return cfg->lcore_role[lcore_id] == ROLE_RTE; in rte_lcore_is_enabled()
159 config->lcore_role[lcore_id] = ROLE_OFF; in rte_eal_cpu_init()
168 config->lcore_role[lcore_id] = ROLE_RTE; in rte_eal_cpu_init()
291 if (cfg->lcore_role[lcore_id] == ROLE_OFF) in rte_lcore_callback_register()
330 if (cfg->lcore_role[lcore_id] == ROLE_OFF) in rte_lcore_callback_unregister()
354 cfg->lcore_role[lcore_id] = ROLE_NON_EAL; in eal_lcore_non_eal_allocate()
375 cfg->lcore_role[lcore_id] = ROLE_OFF; in eal_lcore_non_eal_allocate()
396 cfg->lcore_role[lcore_id] = ROLE_OFF; in eal_lcore_non_eal_release()
[all …]
H A Deal_common_options.c639 if (cfg->lcore_role[idx] == ROLE_RTE) in eal_parse_service_coremask()
694 cfg->lcore_role[i] = ROLE_RTE; in update_lcore_config()
697 cfg->lcore_role[i] = ROLE_OFF; in update_lcore_config()
860 if (cfg->lcore_role[idx] != ROLE_SERVICE) { in eal_parse_service_corelist()
870 if (cfg->lcore_role[idx] == ROLE_RTE) in eal_parse_service_corelist()
1181 cfg->lcore_role[idx] = ROLE_OFF; in eal_parse_lcores()
1243 if (cfg->lcore_role[idx] != ROLE_RTE) { in eal_parse_lcores()
1245 cfg->lcore_role[idx] = ROLE_RTE; in eal_parse_lcores()
1950 if (cfg->lcore_role[lcore_id] == ROLE_RTE && in eal_auto_detect_cores()
1952 cfg->lcore_role[lcore_id] = ROLE_OFF; in eal_auto_detect_cores()
[all …]
H A Deal_private.h51 enum rte_lcore_role_t lcore_role[RTE_MAX_LCORE]; /**< State of cores. */ member
H A Drte_service.c637 cfg->lcore_role[lcore] = state; in set_lcore_state()