---
name: "rte_flow_template_table_attr"
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_flow_template_table_attr"
---

# rte\_flow\_template\_table\_attr(3)

## NAME

rte\_flow\_template\_table\_attr

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

struct **rte\_flow\_attr** **flow\_attr**\
 uint32\_t **nb\_flows**\
 uint32\_t **specialize**\
 enum **rte\_flow\_table\_insertion\_type** **insertion\_type**\
 enum **rte\_flow\_table\_hash\_func** **hash\_func**\

## Detailed Description

**Warning**

**EXPERIMENTAL:** this API may change without prior notice.

Table attributes.

Definition at line **5953** of file **rte\_flow.h**.

## Field Documentation

### struct rte\_flow\_attr flow\_attr

Flow attributes to be used in each rule generated from this table.

Definition at line **5957** of file **rte\_flow.h**.

### uint32\_t nb\_flows

Maximum number of flow rules that this table holds.

Definition at line **5961** of file **rte\_flow.h**.

### uint32\_t specialize

Optional hint flags for driver optimization. The effect may vary in the different drivers. The functionality must not rely on the hints. Value is composed with RTE\_FLOW\_TABLE\_SPECIALIZE\_\* based on application design choices. Misused hints may mislead the driver, it may result in an undefined behavior.

Definition at line **5970** of file **rte\_flow.h**.

### enum rte\_flow\_table\_insertion\_type insertion\_type

Insertion type for flow rules.

Definition at line **5974** of file **rte\_flow.h**.

### enum rte\_flow\_table\_hash\_func hash\_func

Hash calculation function for the packet matching.

Definition at line **5978** of file **rte\_flow.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
