Add VXLAN last reserved byte in rte flow packet field.
Add 'vxlan_last_rsvd' as the modification command string.

Signed-off-by: Rongwei Liu <rongw...@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnow...@nvidia.com>
---
 app/test-pmd/cmdline_flow.c | 1 +
 lib/ethdev/rte_flow.h       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 775ce20fc4..f3d6a2cfd7 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -1006,6 +1006,7 @@ static const char *const flow_field_ids[] = {
        "ipv6_flow_label", "ipv6_traffic_class",
        "esp_spi", "esp_seq_num", "esp_proto",
        "random",
+       "vxlan_last_rsvd",
        NULL
 };
 
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 6e8ab1d4c7..74cf2e0f59 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -2428,6 +2428,7 @@ enum rte_flow_field_id {
        RTE_FLOW_FIELD_ESP_SEQ_NUM,     /**< ESP Sequence Number. */
        RTE_FLOW_FIELD_ESP_PROTO,       /**< ESP next protocol value. */
        RTE_FLOW_FIELD_RANDOM,          /**< Random value. */
+       RTE_FLOW_FIELD_VXLAN_LAST_RSVD, /**< VXLAN last reserved byte. */
 };
 
 /**
-- 
2.27.0

Reply via email to