diff options
Diffstat (limited to 'doc/guides/sample_app_ug/keep_alive.rst')
-rw-r--r-- | doc/guides/sample_app_ug/keep_alive.rst | 2 |
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 38973779..48769270 100644 --- a/doc/guides/sample_app_ug/keep_alive.rst +++ b/doc/guides/sample_app_ug/keep_alive.rst @@ -186,5 +186,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; } |