---
name: "rte_flow_error"
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_error"
---

# rte\_flow\_error(3)

## NAME

rte\_flow\_error

## SYNOPSIS

`#include <rte_flow.h>`

### Data Fields

enum **rte\_flow\_error\_type** **type**\
 const void \* **cause**\
 const char \* **message**\

## Detailed Description

Verbose error structure definition.

This object is normally allocated by applications and set by PMDs, the message points to a constant string which does not need to be freed by the application, however its pointer can be considered valid only as long as its associated DPDK port remains configured. Closing the underlying device or unloading the PMD invalidates it.

Both cause and message may be NULL regardless of the error type.

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

## Field Documentation

### enum rte\_flow\_error\_type type

Cause field and error types.

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

### const void\* cause

Object responsible for the error.

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

### const char\* message

Human-readable error message.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
