rte_flow_item_mark(3)
π NAME π
rte_flow_item_mark β bestie, it's literally the flow item that matches a mark value, periodt β¨
π¦ SYNOPSIS π¦
#include <rte_flow.h>
π Data Fields π
uint32_t id
πΈ Detailed Description πΈ
β οΈ Warning β EXPERIMENTAL: this structure may change without prior notice π like, do not get attached, bestie, it can switch up on you at ANY moment.
RTE_FLOW_ITEM_TYPE_MARK π
So here's the tea β β this thing matches an arbitrary integer value that was set using the MARK action in a previously matched rule. You set the mark earlier in the pipeline, and now you're matching on it. Iconic behaviour honestly.
This item can only be specified once as a match criteria, because the MARK action can only be specified once in a flow action. So don't try to be extra, the rules said one π
This value is arbitrary and application-defined β¨. The maximum allowed value depends on the underlying implementation β so like, check with your PMD before you go feral with big numbers π
Depending on the underlying implementation, the MARK item may be supported on the physical device, with virtual groups in the PMD, or not at all. It's giving "it depends" π vibe check your hardware first, no cap.
Definition at line 1745 of file rte_flow.h.
π«Ά Field Documentation π«Ά
π uint32_t id
Integer value to match against. Lowkey the whole point of the struct π
Definition at line 1746 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human, not a bestie, just a doc generator doing its little thing π§
And that's the whole page, mwah π β this was rte_flow_item_mark(3) from DPDK, Version 25.11.3, brought to you by the DPDK crew. Slay, stay experimental, and go match some marks responsibly πβ¨
π¦ 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