44 #ifndef RTE_KEEPALIVE_MAXCORES 48 #define RTE_KEEPALIVE_MAXCORES RTE_MAX_LCORE enum rte_keepalive::@5 state_flags[RTE_KEEPALIVE_MAXCORES]
rte_keepalive_failure_callback_t callback
void(* rte_keepalive_failure_callback_t)(void *data, const int id_core)
static unsigned rte_lcore_id(void)
#define RTE_KEEPALIVE_MAXCORES
static void rte_keepalive_mark_alive(struct rte_keepalive *keepcfg)
uint8_t active_cores[RTE_KEEPALIVE_MAXCORES]
void rte_keepalive_dispatch_pings(void *ptr_timer, void *ptr_data)
uint64_t last_alive[RTE_KEEPALIVE_MAXCORES]
struct rte_keepalive * rte_keepalive_create(rte_keepalive_failure_callback_t callback, void *data)
#define __rte_cache_aligned
void rte_keepalive_register_core(struct rte_keepalive *keepcfg, const int id_core)