Home
last modified time | relevance | path

Searched refs:core_state (Results 1 – 8 of 8) sorted by relevance

/f-stack/dpdk/lib/librte_eal/common/
H A Drte_keepalive.c20 enum rte_keepalive_state core_state __rte_cache_aligned;
74 switch (keepcfg->live_data[idx_core].core_state) { in rte_keepalive_dispatch_pings()
78 keepcfg->live_data[idx_core].core_state = in rte_keepalive_dispatch_pings()
84 keepcfg->live_data[idx_core].core_state = in rte_keepalive_dispatch_pings()
88 keepcfg->live_data[idx_core].core_state = in rte_keepalive_dispatch_pings()
100 keepcfg->live_data[idx_core].core_state = in rte_keepalive_dispatch_pings()
111 keepcfg->live_data[idx_core].core_state, in rte_keepalive_dispatch_pings()
155 keepcfg->live_data[rte_lcore_id()].core_state = RTE_KA_STATE_ALIVE; in rte_keepalive_mark_alive()
161 keepcfg->live_data[rte_lcore_id()].core_state = RTE_KA_STATE_DOZING; in rte_keepalive_mark_sleep()
H A Drte_service.c64 struct core_state { struct
77 static struct core_state *lcore_states; argument
99 sizeof(struct core_state), RTE_CACHE_LINE_SIZE); in rte_service_init()
459 struct core_state *cs = &lcore_states[lcore]; in service_runner_func()
525 struct core_state *cs = &lcore_states[i]; in rte_service_lcore_list()
541 struct core_state *cs = &lcore_states[lcore]; in rte_service_lcore_count_services()
703 struct core_state *cs = &lcore_states[lcore]; in rte_service_lcore_del()
727 struct core_state *cs = &lcore_states[lcore]; in rte_service_lcore_start()
817 struct core_state *cs; in rte_service_lcore_attr_get()
849 struct core_state *cs; in rte_service_lcore_attr_reset_all()
[all …]
/f-stack/dpdk/examples/l2fwd-keepalive/
H A Dshm.c63 ka_shm->core_state[idx_core] = in rte_keepalive_shm_create()
75 const int id_core, const enum rte_keepalive_state core_state, in rte_keepalive_relayed_state() argument
80 shm->core_state[id_core] = core_state; in rte_keepalive_relayed_state()
83 if (core_state == RTE_KEEPALIVE_SHM_DEAD) { in rte_keepalive_relayed_state()
H A Dshm.h32 enum rte_keepalive_state core_state[RTE_KEEPALIVE_MAXCORES]; member
59 const int id_core, const enum rte_keepalive_state core_state,
H A Dmain.c519 const enum rte_keepalive_state core_state, uint64_t last_alive) in relay_core_state() argument
522 id_core, core_state, last_alive); in relay_core_state()
/f-stack/dpdk/examples/l2fwd-keepalive/ka-agent/
H A Dmain.c99 if (shm->core_state[idx_core] == RTE_KA_STATE_DEAD) in main()
113 if (shm->core_state[idx_core] == RTE_KA_STATE_DEAD) in main()
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_keepalive.h60 enum rte_keepalive_state core_state,
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dkeep_alive.rst143 keepcfg->live_data[rte_lcore_id()].core_state = RTE_KA_STATE_ALIVE;