---
name: "rte_table_action_mtr_config"
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_table_action_mtr_config"
---

# rte\_table\_action\_mtr\_config(3)

## NAME

rte\_table\_action\_mtr\_config

## SYNOPSIS

`#include <rte_table_action.h>`

### Data Fields

enum **rte\_table\_action\_meter\_algorithm** **alg**\
 uint32\_t **n\_tc**\
 int **n\_packets\_enabled**\
 int **n\_bytes\_enabled**\

## Detailed Description

Meter action configuration (per table action profile).

Definition at line **287** of file **rte\_table\_action.h**.

## Field Documentation

### enum rte\_table\_action\_meter\_algorithm alg

Meter algorithm.

Definition at line **289** of file **rte\_table\_action.h**.

### uint32\_t n\_tc

Number of traffic classes. Each traffic class has its own traffic meter and policer instances. Needs to be equal to either 1 or to *RTE\_TABLE\_ACTION\_TC\_MAX*.

Definition at line **295** of file **rte\_table\_action.h**.

### int n\_packets\_enabled

When non-zero, the *n\_packets* meter stats counter is enabled, otherwise it is disabled.

**See also**

struct **rte\_table\_action\_mtr\_counters\_tc**

Definition at line **302** of file **rte\_table\_action.h**.

### int n\_bytes\_enabled

When non-zero, the *n\_bytes* meter stats counter is enabled, otherwise it is disabled.

**See also**

struct **rte\_table\_action\_mtr\_counters\_tc**

Definition at line **309** of file **rte\_table\_action.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
