---
name: "rte_tm_node_capabilities"
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_capabilities"
---

# rte\_tm\_node\_capabilities(3)

## NAME

rte\_tm\_node\_capabilities

## SYNOPSIS

`#include <rte_tm.h>`

### Data Fields

int **shaper\_private\_supported**\
 int **shaper\_private\_dual\_rate\_supported**\
 uint64\_t **shaper\_private\_rate\_min**\
 uint64\_t **shaper\_private\_rate\_max**\
 int **shaper\_private\_packet\_mode\_supported**\
 int **shaper\_private\_byte\_mode\_supported**\
 uint32\_t **shaper\_shared\_n\_max**\
 int **shaper\_shared\_packet\_mode\_supported**\
 int **shaper\_shared\_byte\_mode\_supported**\
 uint64\_t **stats\_mask**\

## Detailed Description

Traffic manager node capabilities

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

## Field Documentation

### int shaper\_private\_supported

Private shaper support for the current node.

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

### int shaper\_private\_dual\_rate\_supported

Dual rate shaping support for private shaper of current node. Valid only when private shaper is supported by the current node.

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

### uint64\_t shaper\_private\_rate\_min

Minimum committed/peak rate (bytes per second) for private shaper of current node. Valid only when private shaper is supported by the current node.

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

### uint64\_t shaper\_private\_rate\_max

Maximum committed/peak rate (bytes per second) for private shaper of current node. Valid only when private shaper is supported by the current node.

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

### int shaper\_private\_packet\_mode\_supported

Shaper private packet mode supported. When non-zero, this parameter indicates private shaper of current node can be configured with packet mode. When configured in packet mode, committed/peak rate provided is interpreted in packets per second.

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

### int shaper\_private\_byte\_mode\_supported

Shaper private byte mode supported. When non-zero, this parameter indicates private shaper of current node can be configured with byte mode. When configured in byte mode, committed/peak rate provided is interpreted in bytes per second.

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

### uint32\_t shaper\_shared\_n\_max

Maximum number of shared shapers the current node can be part of. The value of zero indicates that shared shapers are not supported by the current node.

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

### int shaper\_shared\_packet\_mode\_supported

Shaper shared packet mode supported. When non-zero, this parameter indicates that current node can be part of shared shapers which work in packet mode.

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

### int shaper\_shared\_byte\_mode\_supported

Shaper shared byte mode supported. When non-zero, this parameter indicates that current node can be part of shared shapers which work in byte mode.

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

### uint32\_t sched\_n\_children\_max

Maximum number of children nodes.

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

### uint32\_t sched\_sp\_n\_priorities\_max

Maximum number of supported priority levels. The value of zero is invalid. The value of 1 indicates that only priority 0 is supported, which essentially means that Strict Priority (SP) algorithm is not supported.

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

### uint32\_t sched\_wfq\_n\_children\_per\_group\_max

Maximum number of sibling nodes that can have the same priority at any given time, i.e. maximum size of the WFQ sibling node group. The value of zero is invalid. The value of 1 indicates that WFQ algorithm is not supported. The maximum value is *sched\_n\_children\_max*.

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

### uint32\_t sched\_wfq\_n\_groups\_max

Maximum number of priority levels that can have more than one child node at any given time, i.e. maximum number of WFQ sibling node groups that have two or more members. The value of zero states that WFQ algorithm is not supported. The value of 1 indicates that (*sched\_sp\_n\_priorities\_max* - 1) priority levels have at most one child node, so there can be only one priority level with two or more sibling nodes making up a WFQ group. The maximum value is: min(floor(*sched\_n\_children\_max* / 2), *sched\_sp\_n\_priorities\_max*).

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

### uint32\_t sched\_wfq\_weight\_max

Maximum WFQ weight. The value of 1 indicates that all sibling nodes with same priority have the same WFQ weight, so WFQ is reduced to FQ.

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

### int sched\_wfq\_packet\_mode\_supported

WFQ packet mode supported. When non-zero, this parameter indicates that current node supports packet mode for WFQ among its children. WFQ weights will be applied against packet count for scheduling children when configured appropriately.

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

### int sched\_wfq\_byte\_mode\_supported

WFQ byte mode supported. When non-zero, this parameter indicates that current node supports byte mode for WFQ among its children. WFQ weights will be applied against bytes for scheduling children when configured appropriately.

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

### struct { ... } nonleaf

Items valid only for non-leaf nodes.

### int cman\_wred\_packet\_mode\_supported

WRED packet mode support for current node.

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

### int cman\_wred\_byte\_mode\_supported

WRED byte mode support for current node.

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

### int cman\_head\_drop\_supported

Head drop algorithm support for current node.

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

### int cman\_wred\_context\_private\_supported

Private WRED context support for current node.

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

### uint32\_t cman\_wred\_context\_shared\_n\_max

Maximum number of shared WRED contexts the current node can be part of. The value of zero indicates that shared WRED contexts are not supported by the current node.

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

### struct { ... } leaf

Items valid only for leaf nodes.

### uint64\_t stats\_mask

Mask of statistics counter types supported by the current node.

**See also**

enum **rte\_tm\_stats\_type**

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
