---
name: "rte_flow_field_data"
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_field_data"
---

# rte\_flow\_field\_data(3)

## NAME

rte\_flow\_field\_data

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

enum **rte\_flow\_field\_id** **field**\

## Detailed Description

**Warning**

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

Packet header field descriptions, used by RTE\_FLOW\_ACTION\_TYPE\_MODIFY\_FIELD and RTE\_FLOW\_ITEM\_TYPE\_COMPARE.

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

## Field Documentation

### enum rte\_flow\_field\_id field

Field or memory type ID.

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

### uint8\_t level

Packet encapsulation level containing the field to modify.

- •

  `0` requests the default behavior. Depending on the packet type, it can mean outermost, innermost or anything in between.

It basically stands for the innermost encapsulation level. Modification can be performed according to PMD and device capabilities.

- •

  `1` requests modification to be performed on the outermost packet encapsulation level.

- •

  `2` and subsequent values request modification to be performed on the specified inner packet encapsulation level, from outermost to innermost (lower to higher values).

Values other than `0` are not necessarily supported.

**Note**

that for MPLS field, encapsulation level also include tunnel since MPLS may appear in outer, inner or tunnel.

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

### uint8\_t tag\_index

Tag index array inside encapsulation level. Used for VLAN, MPLS or TAG types.

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

### uint8\_t type

Geneve option type.

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

### rte\_be16\_t class\_id

Geneve option class.

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

### uint32\_t offset

Number of bits to skip from a field.

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

### uint8\_t value\[16\]

Immediate value for RTE\_FLOW\_FIELD\_VALUE, presented in the same byte order and length as in relevant rte\_flow\_item\_xxx. The immediate source bitfield offset is inherited from the destination's one.

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

### void\* pvalue

Memory address for RTE\_FLOW\_FIELD\_POINTER, memory layout should be the same as for relevant field in the rte\_flow\_item\_xxx structure.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
