---
name: "rte_flow_driver.h"
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_driver.h"
---

# rte\_flow\_driver.h(3)

## NAME

rte\_flow\_driver.h

## SYNOPSIS

`#include <stdint.h>`\
 `#include 'rte_ethdev.h'`\
 `#include 'ethdev_driver.h'`\
 `#include 'rte_flow.h'`\

### Data Structures

struct **rte\_flow\_ops**\

### Functions

const struct **rte\_flow\_ops** \* **rte\_flow\_ops\_get** (uint16\_t port\_id, struct **rte\_flow\_error** \*error)\
 int **rte\_flow\_restore\_info\_dynflag\_register** (void)\

## Detailed Description

RTE generic flow API (driver side)

This file provides implementation helpers for internal use by PMDs, they are not intended to be exposed to applications and are not subject to ABI versioning.

Definition in file **rte\_flow\_driver.h**.

## Function Documentation

### const struct rte\_flow\_ops \* rte\_flow\_ops\_get (uint16\_t port\_id, struct rte\_flow\_error \* error)

Get generic flow operations structure from a port.

**Parameters**

*port\_id* Port identifier to query. \
 *error* Pointer to flow error structure.

**Returns**

The flow operations structure associated with port\_id, NULL in case of error, in which case rte\_errno is set and the error structure contains additional details.

### int rte\_flow\_restore\_info\_dynflag\_register (void)

Register mbuf dynamic flag for rte\_flow\_get\_restore\_info.

## Author

Generated automatically by Doxygen for DPDK from the source code.
