rte_flow_t...table_attr(3)
β¨ NAME β¨
rte_flow_template_table_attr β bestie, this is the struct that holds all the attributes for a template table in DPDK's flow API π
(it lives in the rte_flow.h manual, section 3, so you know exactly where to find it again π)
πΈ 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 get too attached, okay? π It could ghost you at any patch release.
Okay so this whole thing is the Table attributes, fr fr. The way that this struct is just the receipts for a template table πβ¨
Definition at line 5952 of file rte_flow.h.
π Field Documentation π
π«Ά struct rte_flow_attr flow_attr
The flow attributes that get used in each and every rule generated from this table, periodt. Every rule birthed from this table inherits these vibes π
Definition at line 5956 of file rte_flow.h.
π«Ά uint32_t nb_flows
The maximum number of flow rules that this table can hold β like a guest list, and this is the capacity, no cap ποΈ
Definition at line 5960 of file rte_flow.h.
π«Ά uint32_t specialize
Optional hint flags for driver optimization, iykyk. Lowkey the effect may vary in the different drivers, so don't come for me if your fav driver does something else π
Important: the functionality must not rely on the hints. Nope. They're a hint, not a promise, bestie. The value is composed with RTE_FLOW_TABLE_SPECIALIZE_* based on application design choices β so it's a little DIY situation, you pick the flags that match your design π¨
π Misused hints may mislead the driver, and it may result in an undefined behavior. So likeβ¦ be careful, okay? This is genuinely the dangerous one.
Definition at line 5969 of file rte_flow.h.
π«Ά enum rte_flow_table_insertion_type insertion_type
The insertion type for flow rules β how the rules get slotted in, iconically π§
Definition at line 5973 of file rte_flow.h.
π«Ά enum rte_flow_table_hash_func hash_func
The hash calculation function used for the packet matching β the math-y main character of the matching process π₯
Definition at line 5977 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not written by a human, just a very diligent little generator doing its thing π€π
Okay that's the whole page, bestie β no skips, no skimming, every field accounted for πβ¨
This was DPDK, Version 26.03.0, and you were reading rte_flow_t...table_attr(3) from the Library Functions Manual β slay, go build something iconic π
πβ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms