]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ethdev/rte_flow.c
ethdev: support metadata as flow rule criteria
[dpdk.git] / lib / librte_ethdev / rte_flow.c
index 1752ed5eb63c1ebe93d6dadf410bf7160d904476..8e3ea30ecd6e1d56adbbadcef582fb7c9233b596 100644 (file)
@@ -73,6 +73,7 @@ static const struct rte_flow_desc_data rte_flow_desc_item[] = {
        MK_FLOW_ITEM(ICMP6_ND_OPT_TLA_ETH,
                     sizeof(struct rte_flow_item_icmp6_nd_opt_tla_eth)),
        MK_FLOW_ITEM(MARK, sizeof(struct rte_flow_item_mark)),
        MK_FLOW_ITEM(ICMP6_ND_OPT_TLA_ETH,
                     sizeof(struct rte_flow_item_icmp6_nd_opt_tla_eth)),
        MK_FLOW_ITEM(MARK, sizeof(struct rte_flow_item_mark)),
+       MK_FLOW_ITEM(META, sizeof(struct rte_flow_item_meta)),
 };
 
 /** Generate flow_action[] entry. */
 };
 
 /** Generate flow_action[] entry. */