DPDK 21.11.9
Data Fields
rte_swx_learner_stats Struct Reference

#include <rte_swx_ctl.h>

Data Fields

uint64_t n_pkts_hit
 
uint64_t n_pkts_miss
 
uint64_t n_pkts_learn_ok
 
uint64_t n_pkts_learn_err
 
uint64_t n_pkts_forget
 
uint64_t * n_pkts_action
 

Detailed Description

Learner table statistics.

Examples
examples/pipeline/cli.c.

Definition at line 615 of file rte_swx_ctl.h.

Field Documentation

◆ n_pkts_hit

uint64_t n_pkts_hit

Number of packets with lookup hit.

Examples
examples/pipeline/cli.c.

Definition at line 617 of file rte_swx_ctl.h.

◆ n_pkts_miss

uint64_t n_pkts_miss

Number of packets with lookup miss.

Examples
examples/pipeline/cli.c.

Definition at line 620 of file rte_swx_ctl.h.

◆ n_pkts_learn_ok

uint64_t n_pkts_learn_ok

Number of packets with successful learning.

Examples
examples/pipeline/cli.c.

Definition at line 623 of file rte_swx_ctl.h.

◆ n_pkts_learn_err

uint64_t n_pkts_learn_err

Number of packets with learning error.

Examples
examples/pipeline/cli.c.

Definition at line 626 of file rte_swx_ctl.h.

◆ n_pkts_forget

uint64_t n_pkts_forget

Number of packets with forget event.

Examples
examples/pipeline/cli.c.

Definition at line 629 of file rte_swx_ctl.h.

◆ n_pkts_action

uint64_t* n_pkts_action

Number of packets (with either lookup hit or miss) per pipeline action. Array of pipeline n_actions elements indexed by the pipeline-level action_id, therefore this array has the same size for all the tables within the same pipeline.

Examples
examples/pipeline/cli.c.

Definition at line 635 of file rte_swx_ctl.h.


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