rte_flow_item_meta(3)
π NAME π
rte_flow_item_meta β bestie, this is the flow item that matches metadata, and honestly? it's giving underrated icon energy β¨
π¦ SYNOPSIS π¦
#include <rte_flow.h>
πΈ DETAILED DESCRIPTION πΈ
okay so say it with me: RTE_FLOW_ITEM_TYPE_META π
This is the flow item type that matches a specified metadata value. Simple. Elegant. Ate. π
Now let's talk about egress, because the way metadata gets set out there is a choose-your-own-adventure situation π¦ on egress, the metadata can be set either by:
- the mbuf dynamic metadata field, using the
RTE_MBUF_DYNFLAG_TX_METADATAflag, or RTE_FLOW_ACTION_TYPE_SET_META
Two paths, same destination, no cap π«
Now flip to ingress π§ here's the tea: RTE_FLOW_ACTION_TYPE_SET_META sets metadata for a packet, and then that metadata gets reported back via the mbuf metadata dynamic field with the RTE_MBUF_DYNFLAG_RX_METADATA flag. She tells you everything, fr fr π
β οΈ super important, bestie, do not skip this: the dynamic mbuf field must be registered in advance by rte_flow_dynf_metadata_register(). No registration, no metadata. It's giving "read the instructions before you complain" π
also for the record, this whole thing is defined at line 1622 of file rte_flow.h π
π AUTHOR π
Generated automatically by Doxygen for DPDK, straight from the source code π it literally wrote itself, main character behavior tbh π
π«Ά SEE ALSO π«Ά
literally nothing else listed here, so go forth and slay on your own, iykyk π
and that's the whole page, bestie!! π this was DPDK Version 25.11.3, rte_flow_item_meta(3), mwah, xoxo, register your dynf metadata fields before you use them, periodt π
β¨
π¦ 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