FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | spp_trace_log_hdr_t |
struct | spp_trace_log_t |
struct | spp_cnat_logger_tbl_t_ |
struct | spp_trace_log_info_t |
struct | spp_global_counters_t |
struct | spp_trace_log_global_info_t |
Macros | |
#define | DUMP_PKT_IDX 61 |
#define | OCTEON_SENSOR_READ 62 |
#define | SPP_TRACE_LOG_SHIM_HDR_OFFSET 0 |
#define | SPP_TRACE_LOG_ENCAPS_OFFSET 16 |
#define | SPP_LOG_TRACE_HEADER_LENGTH (sizeof(spp_trace_log_hdr_t)) |
#define | SPP_TRACE_LOG_IP_HDR_OFFSET |
#define | SPP_TRACE_LOG_UDP_HDR_OFFSET (SPP_TRACE_LOG_IP_HDR_OFFSET + sizeof(ipv4_header)) |
#define | SPP_TRACE_LOG_HDR_OFFSET (SPP_TRACE_LOG_UDP_HDR_OFFSET + sizeof(udp_hdr_type_t)) |
#define | SPP_TRACE_LOG_RECORD_LENGTH 4 |
#define | SPP_TRACE_LOG_MAX_PKT_LENGTH 800 |
#define | SPP_TRACE_LOG_INVALID_LOGGING_INDEX 0xffffffff |
Typedefs | |
typedef struct spp_cnat_logger_tbl_t_ | spp_cnat_logger_tbl_t |
Functions | |
void | spp_trace_logger (u16 error_code, u16 num_args, u32 *arg) |
void | spp_trace_log_init (void) |
void | init_trace_log_buf_pool (void) |
void | spp_printf (u16 error_code, u16 num_args, u32 *arg) |
u32 | spp_trace_log_get_unix_time_in_seconds (void) |
void | read_octeon_sensors (u8 mode) |
void | Init_temperature_sensors () |
#define DUMP_PKT_IDX 61 |
Definition at line 49 of file spp_platform_trace_log.h.
#define OCTEON_SENSOR_READ 62 |
Definition at line 50 of file spp_platform_trace_log.h.
#define SPP_LOG_TRACE_HEADER_LENGTH (sizeof(spp_trace_log_hdr_t)) |
Definition at line 207 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_ENCAPS_OFFSET 16 |
Definition at line 204 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_HDR_OFFSET (SPP_TRACE_LOG_UDP_HDR_OFFSET + sizeof(udp_hdr_type_t)) |
Definition at line 219 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_INVALID_LOGGING_INDEX 0xffffffff |
Definition at line 230 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_IP_HDR_OFFSET |
Definition at line 211 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_MAX_PKT_LENGTH 800 |
Definition at line 227 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_RECORD_LENGTH 4 |
Definition at line 222 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_SHIM_HDR_OFFSET 0 |
Definition at line 203 of file spp_platform_trace_log.h.
#define SPP_TRACE_LOG_UDP_HDR_OFFSET (SPP_TRACE_LOG_IP_HDR_OFFSET + sizeof(ipv4_header)) |
Definition at line 216 of file spp_platform_trace_log.h.
typedef struct spp_cnat_logger_tbl_t_ spp_cnat_logger_tbl_t |
anonymous enum |
Enumerator | |
---|---|
TEMPERATURE_SENSOR_TEST_MODE | |
TEMPERATURE_SENSOR_QUIET_MODE |
Definition at line 349 of file spp_platform_trace_log.h.
Enumerator | |
---|---|
CLI_INVALID_PAYLOAD_SIZE | |
CLI_INVALID_MSG_ID |
Definition at line 176 of file spp_platform_trace_log.h.
Enumerator | |
---|---|
CMVX_READ | |
CMVX_WRITE |
Definition at line 166 of file spp_platform_trace_log.h.
Definition at line 113 of file spp_platform_trace_log.h.
Enumerator | |
---|---|
CONFIG_DUMMY | |
CONFIG_DUMMY_MAX | |
SHOW_DUMMY | |
SHOW_DUMMY_MAX | |
DEBUG_DUMMY | |
DEBUG_DUMMY_MAX |
Definition at line 157 of file spp_platform_trace_log.h.
enum spp_error_codes_t |
Definition at line 52 of file spp_platform_trace_log.h.
Enumerator | |
---|---|
FRAG_DB_INVALID_BUCKET | |
FRAG_DB_NO_ENTRY |
Definition at line 171 of file spp_platform_trace_log.h.
enum spp_log_type_t |
Enumerator | |
---|---|
SPP_LOG_LTRACE | |
SPP_LOG_MAX |
Definition at line 34 of file spp_platform_trace_log.h.
Enumerator | |
---|---|
NFV9_DOWNSTREAM_CONGESTION | |
NFV9_FAILED_TO_CREATE_CONTEXT |
Definition at line 181 of file spp_platform_trace_log.h.
void Init_temperature_sensors | ( | ) |
void init_trace_log_buf_pool | ( | void | ) |
Definition at line 970 of file spp_platform_trace_log.c.
void read_octeon_sensors | ( | u8 | mode | ) |
Definition at line 975 of file spp_platform_trace_log.c.
|
inline |
Definition at line 980 of file spp_platform_trace_log.c.
void spp_trace_log_init | ( | void | ) |
Definition at line 965 of file spp_platform_trace_log.c.
Definition at line 960 of file spp_platform_trace_log.c.
spp_timer_t sensor_timer |
Definition at line 372 of file spp_platform_trace_log.c.
spp_cnat_logger_tbl_t spp_cnat_logger_table[] |
Definition at line 37 of file spp_platform_trace_log.c.
spp_trace_log_info_t spp_default_trace_log_info |
Definition at line 379 of file spp_platform_trace_log.c.
spp_trace_log_global_info_t spp_trace_log_global_info |
Definition at line 373 of file spp_platform_trace_log.c.
spp_trace_log_info_t* spp_trace_log_info_pool |
Definition at line 380 of file spp_platform_trace_log.c.
int temperature_read_blocked |
Definition at line 35 of file spp_platform_trace_log.c.