rte_flow_t...table_attr(3)
π NAME
rte_flow_template_table_attr β bestie, it's the attributes struct for a flow template table π
This one lives in the Library Functions Manual, so you already know it's a C API thing, not a command you type at a shell. (iykyk π«Ά)
β¨ SYNOPSIS
#include <rte_flow.h>
π¦ Data Fields
struct rte_flow_attr flow_attruint32_t nb_flowsuint32_t specializeenum rte_flow_table_insertion_type insertion_typeenum rte_flow_table_hash_func hash_func
π DETAILED DESCRIPTION
β οΈ Warning β EXPERIMENTAL: this API may change without prior notice. So likeβ¦ don't build your whole personality on it, okay? π It could shift under you.
It's the table attributes struct. That's the vibe. π¦
Defined at line 5953 of file rte_flow.h.
π¦ FIELD DOCUMENTATION
πΈ struct rte_flow_attr flow_attr
The flow attributes that get used in every single rule generated from this table. Each one. All of them. No skipping β¨
Defined at line 5957 of file rte_flow.h.
π uint32_t nb_flows
The maximum number of flow rules this table can hold. That's the ceiling, bestie π
Defined at line 5961 of file rte_flow.h.
π« uint32_t specialize
Optional hint flags for driver optimization π§
Like, the effect can vary between different drivers β so it's giving "different strokes for different drivers," fr fr. And here's the important part: the functionality must not rely on the hints. They are hints. Only hints. π
The value is composed with RTE_FLOW_TABLE_SPECIALIZE_* based on your application's design choices.
π And if you misuse the hints? They may mislead the driver, which may result in an undefined behavior. So be normal about it.
Defined at line 5970 of file rte_flow.h.
π enum rte_flow_table_insertion_type insertion_type
The insertion type for the flow rules. Periodt.
Defined at line 5974 of file rte_flow.h.
π enum rte_flow_table_hash_func hash_func
The hash calculation function used for the packet matching. Lowkey the main character of the matching process β¨
Defined at line 5978 of file rte_flow.h.
π AUTHOR
Generated automatically by Doxygen for DPDK from the source code. Not a human, not a bestie, just a very diligent little document generator π€π
Okay that's the whole page, you ate it π«Ά This was pulled from DPDK Version 25.11.3, and yes, that's the version and the date vibe baked right in πΈ slay, go read the header file now β¨
π¦ 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