---
name: "rte_tm_node_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_tm_node_stats"
---

# rte\_tm\_node\_stats(3)

## NAME

rte\_tm\_node\_stats

## SYNOPSIS

`#include <rte_tm.h>`

### Data Fields

uint64\_t **n\_pkts**\
 uint64\_t **n\_bytes**\
 struct {\
    uint64\_t **n\_pkts\_dropped** \[**RTE\_COLORS**\]\
    uint64\_t **n\_bytes\_dropped** \[**RTE\_COLORS**\]\
    uint64\_t **n\_pkts\_queued**\
    uint64\_t **n\_bytes\_queued**\
 } **leaf**\

## Detailed Description

Node statistics counters

Definition at line **130** of file **rte\_tm.h**.

## Field Documentation

### uint64\_t n\_pkts

Number of packets scheduled from current node.

Definition at line **132** of file **rte\_tm.h**.

### uint64\_t n\_bytes

Number of bytes scheduled from current node.

Definition at line **135** of file **rte\_tm.h**.

### uint64\_t n\_pkts\_dropped\[RTE\_COLORS\]

Number of packets dropped by current leaf node per each color.

Definition at line **142** of file **rte\_tm.h**.

### uint64\_t n\_bytes\_dropped\[RTE\_COLORS\]

Number of bytes dropped by current leaf node per each color.

Definition at line **147** of file **rte\_tm.h**.

### uint64\_t n\_pkts\_queued

Number of packets currently waiting in the packet queue of current leaf node.

Definition at line **152** of file **rte\_tm.h**.

### uint64\_t n\_bytes\_queued

Number of bytes currently waiting in the packet queue of current leaf node.

Definition at line **157** of file **rte\_tm.h**.

### struct { ... } leaf

Statistics counters for leaf nodes only.

## Author

Generated automatically by Doxygen for DPDK from the source code.
