---
name: "rte_flow_action_nvgre_encap"
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_action_nvgre_encap"
---

# rte\_flow\_action\_nvgre\_encap(3)

## NAME

rte\_flow\_action\_nvgre\_encap

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

struct **rte\_flow\_item** \* **definition**\

## Detailed Description

**Warning**

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

RTE\_FLOW\_ACTION\_TYPE\_NVGRE\_ENCAP

NVGRE tunnel end-point encapsulation data definition

The tunnel definition is provided through the flow item pattern the provided pattern must conform with RFC7637. The flow definition must be provided in order from the RTE\_FLOW\_ITEM\_TYPE\_ETH definition up the end item which is specified by RTE\_FLOW\_ITEM\_TYPE\_END.

The mask field allows user to specify which fields in the flow item definitions can be ignored and which have valid data and can be used verbatim.

Note: the last field is not used in the definition of a tunnel and can be ignored.

Valid flow definition for RTE\_FLOW\_ACTION\_TYPE\_NVGRE\_ENCAP include:

- •

  ETH / IPV4 / NVGRE / END

- •

  ETH / VLAN / IPV6 / NVGRE / END

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

## Field Documentation

### struct rte\_flow\_item\* definition

Encapsulating nvgre tunnel definition (terminated by the END pattern item).

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
