DPDK  24.07.0
rte_flow_action_set_meta Struct Reference

#include <rte_flow.h>

Detailed Description

Warning
EXPERIMENTAL: this structure may change without prior notice

RTE_FLOW_ACTION_TYPE_SET_META

Set metadata. Metadata set by mbuf metadata dynamic field with RTE_MBUF_DYNFLAG_TX_METADATA flag on egress will be overridden by this action. On ingress, the metadata will be carried by mbuf metadata dynamic field with RTE_MBUF_DYNFLAG_RX_METADATA flag if set. The dynamic mbuf field must be registered in advance by rte_flow_dynf_metadata_register().

Altering partial bits is supported with mask. For bits which have never been set, unpredictable value will be seen depending on driver implementation. For loopback/hairpin packet, metadata set on Rx/Tx may or may not be propagated to the other path depending on HW capability.

RTE_FLOW_ITEM_TYPE_META matches metadata.

Definition at line 3914 of file rte_flow.h.


The documentation for this struct was generated from the following file: