* [PATCH v4 1/3] app/testpmd: fix the testpmd field string sequence
[not found] ` <20240604123840.432044-1-rongweil@nvidia.com>
@ 2024-06-04 12:38 ` Rongwei Liu
0 siblings, 0 replies; only message in thread
From: Rongwei Liu @ 2024-06-04 12:38 UTC (permalink / raw)
To: dev, matan, viacheslavo, orika, suanmingm, thomas
Cc: michaelba, stable, Dariusz Sosnowski, Aman Singh, Yuying Zhang,
Ferruh Yigit
The field string should be in the same order as the rte_flow_field_id
enumration definitions
Fixes: bfc007802 ("ethdev: allow modifying IPv6 FL and TC fields")
Cc: michaelba@nvidia.com
Cc: stable@dpdk.org
Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
app/test-pmd/cmdline_flow.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 60ee9337cf..775ce20fc4 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -1002,10 +1002,10 @@ static const char *const flow_field_ids[] = {
"hash_result",
"geneve_opt_type", "geneve_opt_class", "geneve_opt_data", "mpls",
"tcp_data_off", "ipv4_ihl", "ipv4_total_len", "ipv6_payload_len",
- "random",
"ipv4_proto",
- "esp_spi", "esp_seq_num", "esp_proto",
"ipv6_flow_label", "ipv6_traffic_class",
+ "esp_spi", "esp_seq_num", "esp_proto",
+ "random",
NULL
};
--
2.27.0
^ permalink raw reply [flat|nested] only message in thread