---
name: "rte_flow_pattern_template_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_pattern_template_attr"
---

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

## NAME

rte\_flow\_pattern\_template\_attr

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

uint32\_t **relaxed\_matching**:1\
 uint32\_t **ingress**:1\
 uint32\_t **egress**:1\
 uint32\_t **transfer**:1\

## Detailed Description

**Warning**

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

Flow pattern template attributes.

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

## Field Documentation

### uint32\_t relaxed\_matching

Relaxed matching policy.

- •

  If 1, matching is performed only on items with the mask member set and matching on protocol layers specified without any masks is skipped.

- •

  If 0, matching on protocol layers specified without any masks is done as well. This is the standard behaviour of Flow API now.

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

### uint32\_t ingress

Flow direction for the pattern template. At least one direction must be specified. Pattern valid for rules applied to ingress traffic.

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

### uint32\_t egress

Pattern valid for rules applied to egress traffic.

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

### uint32\_t transfer

Pattern valid for rules applied to transfer traffic.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
