DPDK  21.08.0
Data Fields
rte_swx_table_stats Struct Reference

#include <rte_swx_ctl.h>

Data Fields

uint64_t n_pkts_hit
 
uint64_t n_pkts_miss
 
uint64_t * n_pkts_action
 

Detailed Description

Table statistics.

Examples:
examples/pipeline/cli.c.

Definition at line 355 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 357 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 360 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 indedex 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 367 of file rte_swx_ctl.h.


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