---
name: "rte_eth_fdir_info"
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_info"
---

# rte\_eth\_fdir\_info(3)

## NAME

rte\_eth\_fdir\_info

## SYNOPSIS

`#include <rte_eth_ctrl.h>`

### Data Fields

enum **rte\_fdir\_mode** **mode**\
 struct **rte\_eth\_fdir\_flex\_conf** **flex\_conf**\
 uint32\_t **guarant\_spc**\
 uint32\_t **best\_spc**\
 uint64\_t **flow\_types\_mask** \[RTE\_FLOW\_MASK\_ARRAY\_SIZE\]\
 uint32\_t **max\_flexpayload**\
 uint32\_t **flex\_payload\_unit**\
 uint32\_t **max\_flex\_payload\_segment\_num**\
 uint16\_t **flex\_payload\_limit**\
 uint32\_t **flex\_bitmask\_unit**\
 uint32\_t **max\_flex\_bitmask\_num**\

## Detailed Description

A structure used to get the information of flow director filter. It supports RTE\_ETH\_FILTER\_FDIR with RTE\_ETH\_FILTER\_INFO operation. It includes the mode, flexible payload configuration information, capabilities and supported flow types, flexible payload characters. It can be gotten to help taking specific configurations per device.

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

## Field Documentation

### enum rte\_fdir\_mode mode

Flow director mode

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

### struct rte\_eth\_fdir\_flex\_conf flex\_conf

Flex payload configuration information

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

### uint32\_t guarant\_spc

Guaranteed spaces.

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

### uint32\_t best\_spc

Best effort spaces.

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

### uint64\_t flow\_types\_mask\[RTE\_FLOW\_MASK\_ARRAY\_SIZE\]

Bit mask for every supported flow type.

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

### uint32\_t max\_flexpayload

Total flex payload in bytes.

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

### uint32\_t flex\_payload\_unit

Flexible payload unit in bytes. Size and alignments of all flex payload segments should be multiplies of this value.

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

### uint32\_t max\_flex\_payload\_segment\_num

Max number of flexible payload continuous segments. Each segment should be a multiple of flex\_payload\_unit.

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

### uint16\_t flex\_payload\_limit

Maximum src\_offset in bytes allowed. It indicates that src\_offset\[i\] in struct **rte\_eth\_flex\_payload\_cfg** should be less than this value.

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

### uint32\_t flex\_bitmask\_unit

Flex bitmask unit in bytes. Size of flex bitmasks should be a multiply of this value.

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

### uint32\_t max\_flex\_bitmask\_num

Max supported size of flex bitmasks in flex\_bitmask\_unit

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
