DPDK  21.05.0-rc3
rte_flow_action_set_meta Struct Reference

#include <rte_flow.h>

Detailed Description

EXPERIMENTAL: this structure may change without prior notice


Set metadata. Metadata set by mbuf metadata dynamic field with PKT_TX_DYNF_DATA flag on egress will be overridden by this action. On ingress, the metadata will be carried by mbuf metadata dynamic field with PKT_RX_DYNF_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 2967 of file rte_flow.h.

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