---
name: "rte_eth_flex_payload_cfg"
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_flex_payload_cfg"
---

# rte\_eth\_flex\_payload\_cfg(3)

## NAME

rte\_eth\_flex\_payload\_cfg

## SYNOPSIS

`#include <rte_eth_ctrl.h>`

### Data Fields

enum **rte\_eth\_payload\_type** **type**\
 uint16\_t **src\_offset** \[**RTE\_ETH\_FDIR\_MAX\_FLEXLEN**\]\

## Detailed Description

A structure used to select bytes extracted from the protocol layers to flexible payload for filter

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

## Field Documentation

### enum rte\_eth\_payload\_type type

Payload type

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

### uint16\_t src\_offset\[RTE\_ETH\_FDIR\_MAX\_FLEXLEN\]

Offset in bytes from the beginning of packet's payload src\_offset\[i\] indicates the flexbyte i's offset in original packet payload. This value should be less than flex\_payload\_limit in struct **rte\_eth\_fdir\_info**.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
