---
name: "rte_eth_fdir_flex_conf"
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_eth_fdir_flex_conf"
---

# rte\_eth\_fdir\_flex\_conf(3)

## NAME

rte\_eth\_fdir\_flex\_conf

## SYNOPSIS

`#include <rte_eth_ctrl.h>`

### Data Fields

uint16\_t **nb\_payloads**\
 uint16\_t **nb\_flexmasks**\
 struct **rte\_eth\_flex\_payload\_cfg** **flex\_set** \[RTE\_ETH\_PAYLOAD\_MAX\]\
 struct **rte\_eth\_fdir\_flex\_mask** **flex\_mask** \[RTE\_ETH\_FLOW\_MAX\]\

## Detailed Description

A structure used to define all flexible payload related setting include flex payload and flex mask

Definition at line **409** of file **rte\_eth\_ctrl.h**.

## Field Documentation

### uint16\_t nb\_payloads

The number of following payload cfg

Definition at line **410** of file **rte\_eth\_ctrl.h**.

### uint16\_t nb\_flexmasks

The number of following mask

Definition at line **411** of file **rte\_eth\_ctrl.h**.

### struct rte\_eth\_flex\_payload\_cfg flex\_set\[RTE\_ETH\_PAYLOAD\_MAX\]

Flex payload configuration for each payload type

Definition at line **412** of file **rte\_eth\_ctrl.h**.

### struct rte\_eth\_fdir\_flex\_mask flex\_mask\[RTE\_ETH\_FLOW\_MAX\]

Flex mask configuration for each flow type

Definition at line **414** of file **rte\_eth\_ctrl.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
