aboutsummaryrefslogtreecommitdiffstats
path: root/doc/guides/sample_app_ug/keep_alive.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guides/sample_app_ug/keep_alive.rst')
-rw-r--r--doc/guides/sample_app_ug/keep_alive.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/sample_app_ug/keep_alive.rst b/doc/guides/sample_app_ug/keep_alive.rst
index 9b8be489..6c131a86 100644
--- a/doc/guides/sample_app_ug/keep_alive.rst
+++ b/doc/guides/sample_app_ug/keep_alive.rst
@@ -168,5 +168,5 @@ The rte_keepalive_mark_alive function simply sets the core state to alive.
static inline void
rte_keepalive_mark_alive(struct rte_keepalive *keepcfg)
{
- keepcfg->state_flags[rte_lcore_id()] = ALIVE;
+ keepcfg->live_data[rte_lcore_id()].core_state = RTE_KA_STATE_ALIVE;
}