---
name: "rte_eth_fdir_stats"
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_stats"
---

# rte\_eth\_fdir\_stats(3)

## NAME

rte\_eth\_fdir\_stats

## SYNOPSIS

`#include <rte_eth_ctrl.h>`

### Data Fields

uint32\_t **collision**\
 uint32\_t **free**\
 uint32\_t **maxhash**\
 uint32\_t **maxlen**\
 uint64\_t **add**\
 uint64\_t **remove**\
 uint64\_t **f\_add**\
 uint64\_t **f\_remove**\
 uint32\_t **guarant\_cnt**\
 uint32\_t **best\_cnt**\

## Detailed Description

A structure used to define the statistics of flow director. It supports RTE\_ETH\_FILTER\_FDIR with RTE\_ETH\_FILTER\_STATS operation.

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

## Field Documentation

### uint32\_t collision

Number of filters with collision.

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

### uint32\_t free

Number of free filters.

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

### uint32\_t maxhash

The lookup hash value of the added filter that updated the value of the MAXLEN field

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

### uint32\_t maxlen

Longest linked list of filters.

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

### uint64\_t add

Number of added filters.

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

### uint64\_t remove

Number of removed filters.

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

### uint64\_t f\_add

Number of failed added filters.

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

### uint64\_t f\_remove

Number of failed removed filters.

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

### uint32\_t guarant\_cnt

Number of filters in guaranteed spaces.

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

### uint32\_t best\_cnt

Number of filters in best effort spaces.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
