rte_flow_driver.h(3)
π rte_flow_driver.h π
okay so bestie, welcome to rte_flow_driver.h from the DPDK library functions manual β yes it's a header file, yes it's a whole manual page for it, and yes we're gonna read it together like it's the group chat β¨
πΈ NAME πΈ
rte_flow_driver.h β that's it, that's the name, she's mysterious like that π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the goods:
#include <stdint.h>
#include 'rte_ethdev.h'
#include 'ethdev_driver.h'
#include 'rte_flow.h'
π Data Structures
one (1) struct, and she's carrying the whole thing on her back:
struct rte_flow_ops
π¦ Functions
two lil functions, both iconic, both essential:
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) π
so basically β this file is a pile of implementation helpers for internal use by PMDs. like, it's for the drivers, not for you and me fr fr.
β οΈ bestie listen. this stuff is not intended to be exposed to applications and is not subject to ABI versioning. so pls don't @ it from your app, she doesn't want that energy π
oh and also, definition lives in file rte_flow_driver.h. cute.
π 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. that's the whole job, and she does it flawlessly, no cap π
Parameters
port_idβ port identifier to query πerrorβ pointer to flow error structure π
Returns
the flow operations structure associated with port_id π«Ά β or NULL if there was an error π and in that case rte_errno gets set and the error structure is holding the extra details for you, so go read it, she left you a note π
π int rte_flow_restore_info_dynflag_register (void )
register mbuf dynamic flag for rte_flow_get_restore_info. lowkey essential, highkey underrated π
π Author π
generated automatically by Doxygen for DPDK from the source code. so like, not a human, but honestly she ate anyway β¨
aaaaand that's the page, bestie, we made it to the end, mwah π«Ά the footer energy is: DPDK, version 25.11.3, and yeah it's rte_flow_driver.h(3) the whole way down. go forth and query those ports π
πΈ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms