patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence
       [not found] ` <20240527024720.1099161-1-rongweil@nvidia.com>
@ 2024-05-27  2:47   ` Rongwei Liu
  2024-05-30  8:22     ` rongwei liu
  2024-06-03  7:30     ` Dariusz Sosnowski
  0 siblings, 2 replies; 3+ messages in thread
From: Rongwei Liu @ 2024-05-27  2:47 UTC (permalink / raw)
  To: dev, matan, viacheslavo, orika, suanmingm, thomas
  Cc: michaelba, stable, Aman Singh, Yuying Zhang, Ferruh Yigit,
	Dariusz Sosnowski

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>
---
 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] 3+ messages in thread

* Re: [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence
  2024-05-27  2:47   ` [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence Rongwei Liu
@ 2024-05-30  8:22     ` rongwei liu
  2024-06-03  7:30     ` Dariusz Sosnowski
  1 sibling, 0 replies; 3+ messages in thread
From: rongwei liu @ 2024-05-30  8:22 UTC (permalink / raw)
  To: dev, Matan Azrad, Slava Ovsiienko, Ori Kam, Suanming Mou,
	NBU-Contact-Thomas Monjalon (EXTERNAL),
	Dariusz Sosnowski
  Cc: Michael Baum, stable, Aman Singh, Yuying Zhang, Ferruh Yigit

[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]

Hi
@Dariusz Sosnowski<mailto:dsosnowski@nvidia.com> Can you comment on this patch? Thanks.


BR

Rongwei



________________________________
From: Rongwei Liu <rongweil@nvidia.com>
Sent: Monday, May 27, 2024 10:47
To: dev@dpdk.org <dev@dpdk.org>; Matan Azrad <matan@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; Ori Kam <orika@nvidia.com>; Suanming Mou <suanmingm@nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL) <thomas@monjalon.net>
Cc: Michael Baum <michaelba@nvidia.com>; stable@dpdk.org <stable@dpdk.org>; Aman Singh <aman.deep.singh@intel.com>; Yuying Zhang <yuying.zhang@intel.com>; Ferruh Yigit <ferruh.yigit@amd.com>; Dariusz Sosnowski <dsosnowski@nvidia.com>
Subject: [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence

External email: Use caution opening links or attachments


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>
---
 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


[-- Attachment #2: Type: text/html, Size: 3898 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence
  2024-05-27  2:47   ` [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence Rongwei Liu
  2024-05-30  8:22     ` rongwei liu
@ 2024-06-03  7:30     ` Dariusz Sosnowski
  1 sibling, 0 replies; 3+ messages in thread
From: Dariusz Sosnowski @ 2024-06-03  7:30 UTC (permalink / raw)
  To: rongwei liu, dev, Matan Azrad, Slava Ovsiienko, Ori Kam,
	Suanming Mou, NBU-Contact-Thomas Monjalon (EXTERNAL)
  Cc: Michael Baum, stable, Aman Singh, Yuying Zhang, Ferruh Yigit

> -----Original Message-----
> From: rongwei liu <rongweil@nvidia.com>
> Sent: Monday, May 27, 2024 04:47
> To: dev@dpdk.org; Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Ori Kam <orika@nvidia.com>; Suanming Mou
> <suanmingm@nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas@monjalon.net>
> Cc: Michael Baum <michaelba@nvidia.com>; stable@dpdk.org; Aman Singh
> <aman.deep.singh@intel.com>; Yuying Zhang <yuying.zhang@intel.com>;
> Ferruh Yigit <ferruh.yigit@amd.com>; Dariusz Sosnowski
> <dsosnowski@nvidia.com>
> Subject: [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence
> 
> 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>

Best regards,
Dariusz Sosnowski

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-03  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <PH0PR12MB8800B5D893DC057AA6C5C489A4F52@PH0PR12MB8800.namprd12.prod.outlook.com>
     [not found] ` <20240527024720.1099161-1-rongweil@nvidia.com>
2024-05-27  2:47   ` [PATCH v2 1/4] app/testpmd: fix the testpmd field string sequence Rongwei Liu
2024-05-30  8:22     ` rongwei liu
2024-06-03  7:30     ` Dariusz Sosnowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).