DPDK  21.11.8
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 364 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 366 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 369 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 376 of file rte_swx_ctl.h.


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