DPDK  2.2.0
Public Types | Data Fields
rte_keepalive Struct Reference

#include <rte_keepalive.h>

Public Types

enum  

Data Fields

enum rte_keepalive:: { ... }  state_flags [RTE_KEEPALIVE_MAXCORES]
uint64_t last_alive [RTE_KEEPALIVE_MAXCORES]
uint8_t active_cores [RTE_KEEPALIVE_MAXCORES]
rte_keepalive_failure_callback_t callback
void * callback_data

Detailed Description

Keepalive state structure.

Examples:
l2fwd-keepalive/main.c.

Definition at line 67 of file rte_keepalive.h.

Member Enumeration Documentation

anonymous enum

Core Liveness.

Definition at line 69 of file rte_keepalive.h.

Field Documentation

enum { ... } state_flags[RTE_KEEPALIVE_MAXCORES]

Core Liveness.

uint64_t last_alive[RTE_KEEPALIVE_MAXCORES]

Last-seen-alive timestamps

Definition at line 77 of file rte_keepalive.h.

uint8_t active_cores[RTE_KEEPALIVE_MAXCORES]

Cores to check. Indexed by core id, non-zero if the core should be checked.

Definition at line 83 of file rte_keepalive.h.

Dead core handler.

Definition at line 86 of file rte_keepalive.h.

void* callback_data

Dead core handler app data. Pointer is passed to dead core handler.

Definition at line 92 of file rte_keepalive.h.


The documentation for this struct was generated from the following file: