---
name: "rte_swx_table_stats"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_swx_table_stats"
---

# rte\_swx\_table\_stats(3)

## NAME

rte\_swx\_table\_stats

## SYNOPSIS

`#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.

Definition at line **377** of file **rte\_swx\_ctl.h**.

## Field Documentation

### uint64\_t n\_pkts\_hit

Number of packets with lookup hit.

Definition at line **379** of file **rte\_swx\_ctl.h**.

### uint64\_t n\_pkts\_miss

Number of packets with lookup miss.

Definition at line **382** of file **rte\_swx\_ctl.h**.

### 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.

Definition at line **389** of file **rte\_swx\_ctl.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
