X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_mbuf%2Frte_mbuf_dyn.h;h=96c363137ea4185f9d4af036ab820ace22eaabd3;hb=b57b66a97ebf;hp=2e9d418cfe809f50613b15f5f6a15c6e840a3775;hpb=4958ca3a443a33ed49b2601232349037dbb7124f;p=dpdk.git diff --git a/lib/librte_mbuf/rte_mbuf_dyn.h b/lib/librte_mbuf/rte_mbuf_dyn.h index 2e9d418cfe..96c363137e 100644 --- a/lib/librte_mbuf/rte_mbuf_dyn.h +++ b/lib/librte_mbuf/rte_mbuf_dyn.h @@ -234,6 +234,20 @@ int rte_mbuf_dynflag_lookup(const char *name, __rte_experimental void rte_mbuf_dyn_dump(FILE *out); -/* Placeholder for dynamic fields and flags declarations. */ +/* + * Placeholder for dynamic fields and flags declarations. + * This is centralizing point to gather all field names + * and parameters together. + */ + +/* + * The metadata dynamic field provides some extra packet information + * to interact with RTE Flow engine. The metadata in sent mbufs can be + * used to match on some Flows. The metadata in received mbufs can + * provide some feedback from the Flows. The metadata flag tells + * whether the field contains actual value to send, or received one. + */ +#define RTE_MBUF_DYNFIELD_METADATA_NAME "rte_flow_dynfield_metadata" +#define RTE_MBUF_DYNFLAG_METADATA_NAME "rte_flow_dynflag_metadata" #endif