HI
BR
Rongwei
> -Original Message-
> From: Thomas Monjalon
> Sent: Monday, October 16, 2023 16:20
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
> ; Raslan Darawsheh
> Subject: Re: [PATCH v3] net/mlx5: add
This patch adds testpmd app a runtime function to test the live
migration API.
testpmd> mlx5 set flow_engine []
Flag is optional and in bitmap style.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst| 14
drivers/
BR
Rongwei
> -Original Message-
> From: Rongwei Liu
> Sent: Monday, October 16, 2023 16:26
> To: Thomas Monjalon
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
> ; Raslan Darawsheh
> Subject: RE: [PATCH v3] net/mlx5: add test fo
Hi
BR
Rongwei
> -Original Message-
> From: Thomas Monjalon
> Sent: Monday, October 16, 2023 17:27
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
> ; Raslan Darawsheh
> Subject: Re: [PATCH v3] net/mlx5: add
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
Depends on the preceding series:
https://inbox.dpdk.org/dev/20231017073117.23738-1-getel...@nvidia.com/
---
drivers/net/mlx5/mlx5_flow.c| 5 +
drivers/net/mlx5/mlx5_flow.h| 15 ++
drivers/net/mlx5/mlx5_flow_hw.c
BR
Rongwei
> -Original Message-
> From: Rongwei Liu
> Sent: Monday, October 16, 2023 17:30
> To: NBU-Contact-Thomas Monjalon (EXTERNAL)
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
> ; Raslan Darawsheh
> Subject: RE: [PATCH v3
This patch adds testpmd app a runtime function to test the live
migration API.
testpmd> mlx5 set flow_engine []
Flag is optional.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst| 15
drivers/net/mlx5/mlx5_testpm
This patch adds testpmd app a runtime function to test the live
migration API.
testpmd> mlx5 set flow_engine []
Flag is optional.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst| 15
drivers/net/mlx5/mlx5_testpm
BR
Rongwei
> -Original Message-
> From: Thomas Monjalon
> Sent: Wednesday, October 25, 2023 17:42
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
>
> Subject: Re: [PATCH v5] net/mlx5: add test for live migration
This patch adds testpmd app a runtime function to test the live
migration API.
testpmd> mlx5 set flow_engine []
Flag is optional.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst| 15
drivers/net/mlx5/mlx5_testpm
HI Ori:
Those three matching items are redundant. Has been removed already.
Do I need to send RFC v2?
BR
Rongwei
> -Original Message-
> From: Ori Kam
> Sent: Tuesday, January 17, 2023 00:15
> To: Rongwei Liu ; Matan Azrad ;
> Slava Ovsiienko ; NBU-Contact-
HI Ferruh:
BR
Rongwei
> -Original Message-
> From: Ferruh Yigit
> Sent: Wednesday, January 18, 2023 01:02
> To: Rongwei Liu ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ;
> Aman Singh ; Yuying Zhang
> ; Andrew Rybchenko
> ; Ivan Malov ;
> NBU-Contact-Thomas Mon
Add more sentences to describe the group concepts
and define group 0 as root group for traffic to search a
hit rule.
Signed-off-by: Rongwei Liu
---
lib/ethdev/rte_flow.h | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev
.
Rongwei Liu (3):
ethdev: add flow rule group description
ethdev: add standby state for live migration
ethdev: add standby flags for live migration
doc/guides/rel_notes/release_23_03.rst | 7 +++
lib/ethdev/ethdev_driver.h | 20 +++
lib/ethdev/rte_ethdev.c| 42
effective immediately.
Signed-off-by: Rongwei Liu
---
doc/guides/rel_notes/release_23_03.rst | 7
lib/ethdev/ethdev_driver.h | 20 +
lib/ethdev/rte_ethdev.c| 42 +++
lib/ethdev/rte_ethdev.h| 56
Some flags are added to the process state API for live migration
in order to change the behavior of the flow rules in a standby process.
Signed-off-by: Rongwei Liu
---
lib/ethdev/rte_ethdev.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/lib/ethdev/rte_ethdev.h b
to definer_conv_data
Rongwei Liu (7):
ethdev: add IPv6 routing extension header definition
net/mlx5: adopt IPv6 routing extension prm definition
net/mlx5/hws: add IPv6 routing extension matching support
app/testpmd: add IPv6 routing extension header in raw encap
ethdev: add modify IPv6
Add IPv6 routing extension header definition and no
TLV support for now.
At rte_flow layer, there are new items defined for matching
type/nexthdr/segments_left field.
Add command line support for IPv6 routing extension header
matching: type/nexthdr/segment_list.
Signed-off-by: Rongwei Liu
Per newest PRM definition, sample_id stands for 3 parts
of information instead of single uint32_t id: sample_id +
modify_filed_id + format_select_dw.
Also new FW capability bits have been introduces to identify
the new capability.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
From: Gregory Etelson
New mlx5dr_context member replaces mlx5dr_cmd_query_caps.
Capabilities structure is a member of mlx5dr_context.
Signed-off-by: Gregory Etelson
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/hws/mlx5dr_definer.c
Add mlx5 HWS logic to match IPv6 routing extension header.
Once detecting IPv6 matching extension items in pattern template
create callback, PMD allocates a flex parser to sample the first
dword of srv6 header.
Only support next_hdr/segments_left/type for now.
Signed-off-by: Rongwei Liu
Add IPv6 protocol modify field definition.
Add new modify field destination type string: "ipv6_proto".
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 3 ++-
lib/ethdev/rte_flow.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff -
Add HWS modify IPv6 protocol implementation.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_prm.h | 1 +
drivers/net/mlx5/mlx5_flow_dv.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common
Add IPv6 routing extension header support in raw_encap command.
1. No TLV support now.
2. Assume header length equals to the current segment_left.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 23 +++
1 file changed, 23 insertions(+)
diff
Update mlx5 related document on IPv6 routing extension header
matching.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/nics/features/mlx5.ini| 1 +
doc/guides/nics/mlx5.rst | 2 ++
3 files changed, 4 insertions(+)
diff
Support flex item matching and modify field in async flow.
Syntax follows sync flow exactly.
Rongwei Liu (11):
ethdev: add flex item modify field support
app/testpmd: pass flex handle into matching mask
net/mlx5: enable hws flex item create
net/mlx5: add IPv6 protocol as flex item input
port. Now user can use
testpmd cli to specify which flex item to be modified, either
source or destination.
Syntax is as below:
modify_field op set dst_type flex_item dst_level 0
dst_offset 16 src_type value src_value 0x123456781020 width 8
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
--
In async flow create API, there is only mask information when
creating flow table but flex item handle is required to parse
the HW sample information.
Pass the flex item handle instead of UINT64/32_MAX to mask.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 8
Enable flex item create and destroy with dv_flow_en=2
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_os.c | 27 +++
drivers/net/mlx5/mlx5_flow_hw.c | 2 ++
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a
Support flex item matching in hws and syntax follows
sws exactly.
Flex item should be created in advance and follow current
json mapping logic.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 83
Per newest PRM definition, sample_id stands for 3 parts
of information instead of single uint32_t id: sample_id +
modify_filed_id + format_select_dw.
Also new FW capability bits have been introduces to identify
the new capability.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Add flex item modify field HWS implementation.
The minimum modify boundary is one byte.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_prm.h | 1 +
drivers/net/mlx5/mlx5_flow.h| 3 +
drivers/net/mlx5/mlx5_flow_dv.c | 165
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index 92a5914d4b..a7c0d5bf17 100644
--- a/drivers
Support IPv6 protocol as new flex item input link.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_flex.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_flex.c
b/drivers/net/mlx5/mlx5_flow_flex.c
Application should retrieve raw_encap buffer from
spec->pattern if it is flex item.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
app/test-pmd/cmdline_flow.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/app/test-
Add flex item matching and modify field feature into
mlx5 documents.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
doc/guides/nics/mlx5.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index f137f156f9
If flex item is referenced in async flow either by
pattern template or action template, currently testpmd
complains "flex item has flow references". Flex items should
be flushed after async flow resources cleanup.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
ap
Hi Ivan,
BR
Rongwei
> -Original Message-
> From: Ivan Malov
> Sent: Monday, January 30, 2023 08:00
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferruh Yigit
Hi Jerin
BR
Rongwei
> -Original Message-
> From: Jerin Jacob
> Sent: Monday, January 23, 2023 21:20
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ;
> step...@networkplumber.org; Ras
HI Andrew
BR
Rongwei
> -Original Message-
> From: Andrew Rybchenko
> Sent: Friday, January 20, 2023 17:21
> To: Rongwei Liu ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ;
> NBU-Contact-Thomas Monjalon (EXTERNAL) ; Aman
> Singh ; Yuying Zhang
> ; Ferruh Yigit ; O
compilation.
Gregory Etelson (1):
net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data
Rongwei Liu (7):
ethdev: add IPv6 routing extension header definition
net/mlx5: adopt IPv6 routing extension prm definition
net/mlx5/hws: add IPv6 routing extension matching support
app/testpmd: add
Add IPv6 routing extension header definition and no
TLV support for now.
At rte_flow layer, there are new items defined for matching
type/nexthdr/segments_left field.
Add command line support for IPv6 routing extension header
matching: type/nexthdr/segment_list.
Signed-off-by: Rongwei Liu
Per newest PRM definition, sample_id stands for 3 parts
of information instead of single uint32_t id: sample_id +
modify_filed_id + format_select_dw.
Also new FW capability bits have been introduces to identify
the new capability.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
From: Gregory Etelson
New mlx5dr_context member replaces mlx5dr_cmd_query_caps.
Capabilities structure is a member of mlx5dr_context.
Signed-off-by: Gregory Etelson
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 42
Add mlx5 HWS logic to match IPv6 routing extension header.
Once detecting IPv6 matching extension items in pattern template
create callback, PMD allocates a flex parser to sample the first
dword of srv6 header.
Only support next_hdr/segments_left/type for now.
Signed-off-by: Rongwei Liu
Add IPv6 routing extension header support in raw_encap command.
1. No TLV support now.
2. Assume header length equals to the current segment_left.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 23 +++
1 file changed, 23 insertions(+)
diff
Add HWS modify IPv6 protocol implementation.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_prm.h | 1 +
drivers/net/mlx5/mlx5_flow_dv.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common
Add IPv6 protocol modify field definition.
Add new modify field destination type string: "ipv6_proto".
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 3 ++-
lib/ethdev/rte_flow.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff -
Update mlx5 related document on IPv6 routing extension header
matching.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/nics/features/mlx5.ini| 1 +
doc/guides/nics/mlx5.rst | 2 ++
3 files changed, 4
Hi Andrew
BR
Rongwei
> -Original Message-
> From: Andrew Rybchenko
> Sent: Friday, January 20, 2023 17:08
> To: Rongwei Liu ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ;
> NBU-Contact-Thomas Monjalon (EXTERNAL) ; Aman
> Singh ; Yuying Zhang
> ; Ferruh Yigit
&g
Hi Andrew
BR
Rongwei
> -Original Message-
> From: Andrew Rybchenko
> Sent: Friday, January 20, 2023 17:08
> To: Rongwei Liu ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ;
> NBU-Contact-Thomas Monjalon (EXTERNAL) ; Aman
> Singh ; Yuying Zhang
> ; Ferruh Yigit
&g
Support flex item matching and modify field in async flow.
Syntax follows sync flow exactly.
v3: enhance format, add flex_handle document.
Rongwei Liu (11):
ethdev: add flex item modify field support
app/testpmd: pass flex handle into matching mask
net/mlx5: enable hws flex item create
port. Now user can use
testpmd cli to specify which flex item to be modified, either
source or destination.
Syntax is as below:
modify_field op set dst_type flex_item dst_level 0
dst_offset 16 src_type value src_value 0x123456781020 width 8
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
--
In async flow create API, there is only mask information when
creating flow table but flex item handle is required to parse
the HW sample information.
Pass the flex item handle instead of UINT64/32_MAX to mask.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 8
Enable flex item create and destroy with dv_flow_en=2
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_os.c | 27 +++
drivers/net/mlx5/mlx5_flow_hw.c | 2 ++
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a
Support IPv6 protocol as new flex item input link.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_flex.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_flex.c
b/drivers/net/mlx5/mlx5_flow_flex.c
Add flex item modify field HWS implementation.
The minimum modify boundary is one byte.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_prm.h | 1 +
drivers/net/mlx5/mlx5_flow.h| 3 +
drivers/net/mlx5/mlx5_flow_dv.c | 165
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index 92a5914d4b..a7c0d5bf17 100644
--- a/drivers
Support flex item matching in hws and syntax follows
sws exactly.
Flex item should be created in advance and follow current
json mapping logic.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 83
Application should retrieve raw_encap buffer from
spec->pattern if it is flex item.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/
Per newest PRM definition, sample_id stands for 3 parts
of information instead of single uint32_t id: sample_id +
modify_filed_id + format_select_dw.
Also new FW capability bits have been introduces to identify
the new capability.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Add flex item matching and modify field feature into
mlx5 documents.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index b23ca35b8f..a2634c378f
If flex item is referenced in async flow either by
pattern template or action template, currently testpmd
complains "flex item has flow references". Flex items should
be flushed after async flow resources cleanup.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/tes
Support flex item matching and modify field in async flow.
Syntax follows sync flow exactly.
v3: enhance format, add flex_handle document.
Rongwei Liu (11):
ethdev: add flex item modify field support
app/testpmd: pass flex handle into matching mask
net/mlx5: enable hws flex item create
port. Now user can use
testpmd cli to specify which flex item to be modified, either
source or destination.
Syntax is as below:
modify_field op set dst_type flex_item dst_level 0
dst_offset 16 src_type value src_value 0x123456781020 width 8
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
--
Enable flex item create and destroy with dv_flow_en=2
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/linux/mlx5_os.c | 27 +++
drivers/net/mlx5/mlx5_flow_hw.c | 2 ++
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a
In async flow create API, there is only mask information when
creating flow table but flex item handle is required to parse
the HW sample information.
Pass the flex item handle instead of UINT64/32_MAX to mask.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 8
Per newest PRM definition, sample_id stands for 3 parts
of information instead of single uint32_t id: sample_id +
modify_filed_id + format_select_dw.
Also new FW capability bits have been introduces to identify
the new capability.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
Support IPv6 protocol as new flex item input link.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_flex.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_flex.c
b/drivers/net/mlx5/mlx5_flow_flex.c
Support flex item matching in hws and syntax follows
sws exactly.
Flex item should be created in advance and follow current
json mapping logic.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 83
Add flex item modify field HWS implementation.
The minimum modify boundary is one byte.
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_prm.h | 1 +
drivers/net/mlx5/mlx5_flow.h| 3 +
drivers/net/mlx5/mlx5_flow_dv.c | 165
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index 92a5914d4b..a7c0d5bf17 100644
--- a/drivers
Application should retrieve raw_encap buffer from
spec->pattern if it is flex item.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/
Add flex item matching and modify field feature into
mlx5 documents.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index f137f156f9..aceeeb462c 100644
--- a/doc
If flex item is referenced in async flow either by
pattern template or action template, currently testpmd
complains "flex item has flow references". Flex items should
be flushed after async flow resources cleanup.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/tes
HI Ivan
BR
Rongwei
> -Original Message-
> From: Ivan Malov
> Sent: Monday, January 30, 2023 15:40
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferruh Yigit
HI Stephen:
BR
Rongwei
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 31, 2023 00:48
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferr
HI Stephen:
BR
Rongwei
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 31, 2023 00:50
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferr
HI Stephen
BR
Rongwei
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 31, 2023 00:48
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferr
HI Jerin:
BR
Rongwei
> -Original Message-
> From: Jerin Jacob
> Sent: Tuesday, January 31, 2023 01:10
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ;
> step...@networkplumber.org; Ras
HI Ivan
BR
Rongwei
> -Original Message-
> From: Ivan Malov
> Sent: Tuesday, January 31, 2023 07:00
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferruh Yigit
HI Stephen
BR
Rongwei
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 31, 2023 10:56
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferr
Hi Stephen
BR
Rongwei
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 31, 2023 11:02
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferr
HI Ivan:
BR
Rongwei
> -Original Message-
> From: Ivan Malov
> Sent: Tuesday, January 31, 2023 13:30
> To: Rongwei Liu
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yuying Zhang ;
> Ferruh Yigit
Hi Jerin:
BR
Rongwei
> -Original Message-
> From: Jerin Jacob
> Sent: Tuesday, January 31, 2023 16:46
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ;
> step...@networkplumber.org; Ras
HI Stephen:
BR
Rongwei
> -Original Message-
> From: Rongwei Liu
> Sent: Tuesday, January 31, 2023 11:25
> To: Stephen Hemminger ; Andrew Rybchenko
>
> Cc: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Singh
> ; Yu
: remove redundant rte_flow items.
Rongwei Liu (3):
ethdev: add IPv6 routing extension header definition
ethdev: add modify IPv6 protocol field
app/testpmd: add IPv6 routing extension header in raw encap
app/test-pmd/cmdline_flow.c| 72 +-
doc/guides
Add IPv6 routing extension header definition and no
TLV support for now.
At rte_flow layer, there are new items defined for matching
type/nexthdr/segments_left field.
Add command line support for IPv6 routing extension header
matching: type/nexthdr/segment_list.
Signed-off-by: Rongwei Liu
Add IPv6 protocol modify field definition.
Add new modify field destination type string: "ipv6_proto".
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 3 ++-
lib/ethdev/rte_flow.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff -
Add IPv6 routing extension header support in raw_encap command.
1. No TLV support now.
2. Assume header length equals to the current segment_left.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 23 +++
1 file changed, 23 insertions(+)
diff
HI Andrew:
BR
Rongwei
> -Original Message-
> From: Andrew Rybchenko
> Sent: Wednesday, February 1, 2023 17:21
> To: Rongwei Liu ; dev@dpdk.org; Matan Azrad
> ; Slava Ovsiienko ; Ori Kam
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
>
> Cc: Raslan Darawsheh ; Ama
be32/be16 in network header structure.
v2: remove redundant rte_flow items.
Rongwei Liu (3):
ethdev: add IPv6 routing extension header definition
ethdev: add modify IPv6 protocol field
app/testpmd: add IPv6 routing extension header in raw encap
app/test-pmd/cmdline_flow.c
Add IPv6 routing extension header definition and no
TLV support for now.
At rte_flow layer, there are new items defined for matching
type/nexthdr/segments_left field.
Add command line support for IPv6 routing extension header
matching: type/nexthdr/segment_list.
Signed-off-by: Rongwei Liu
Add IPv6 protocol modify field definition.
Add new modify field destination type string: "ipv6_proto".
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 3 ++-
lib/ethdev/rte_flow.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff -
Add IPv6 routing extension header support in raw_encap command.
1. No TLV support now.
2. Assume header length equals to the current segment_left.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 23 +++
1 file changed, 23 insertions(+)
diff
Hi Stephen
BR
Rongwei
> -Original Message-
> From: Stephen Hemminger
> Sent: Thursday, February 2, 2023 00:56
> To: Rongwei Liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Raslan Darawsheh
> ; Ama
Hi Andrew,
Can you share some comments on the modified version v3?
BR
Rongwei
> -Original Message-
> From: Rongwei Liu
> Sent: Monday, January 30, 2023 21:20
> To: Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; NBU-Contact-
> Thomas Monjalon (EXTERNAL) ; Aman Sing
egments and move PMD
implementation out.
v3: enhance the format and use be32/be16 in network header
structure.
v2: remove redundant rte_flow items.
Rongwei Liu (3):
ethdev: add IPv6 routing extension header definition
ethdev: add modify IPv6 protocol field
app/testpmd: add IPv6 routing extension
Add IPv6 routing extension header definition and no
TLV support for now.
At rte_flow layer, there are new items defined for matching
type/nexthdr/segments_left field.
Add command line support for IPv6 routing extension header
matching: type/nexthdr/segment_list.
Signed-off-by: Rongwei Liu
Add IPv6 protocol modify field definition.
Add new modify field destination type string: "ipv6_proto".
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Andrew Rybchenko
---
app/test-pmd/cmdline_flow.c | 3 ++-
lib/ethdev/rte_flow.h | 1 +
2 files changed, 3 insert
1 - 100 of 435 matches
Mail list logo