BR
Rongwei
> -Original Message-
> From: Ferruh Yigit
> Sent: Tuesday, June 11, 2024 22:53
> To: rongwei liu ; dev@dpdk.org; Matan Azrad
> ; Slava Ovsiienko ; Ori Kam
> ; Suanming Mou ; NBU-
> Contact-Thomas Monjalon (EXTERNAL)
> Cc: Dariusz Sosnowski ; Ama
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Add "uint8_t last_rsvd" as union with origin rsvd1.
Add RTE_FLOW_FIELD_VXLAN_LAST_RSVD into rte flow packet
field.
The new union is used by testpmd matching item VXLAN
"last_rsvd" and modify target RTE_FLOW_FIELD_VXLAN_LAST_RSVD.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdl
atch split.
Rongwei Liu (3):
app/testpmd: fix the testpmd field string sequence
ethdev: add VXLAN last reserved field
net/mlx5: implement VXLAN last reserved modification
app/test-pmd/cmdline_flow.c | 9 +
doc/guides/nics/mlx5.rst| 5 +
drivers/net/mlx5/mlx5_flow
BR
Rongwei
> -Original Message-
> From: Thomas Monjalon
> Sent: Friday, June 7, 2024 21:26
> To: rongwei liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
> ; Dariusz Sosnowski ;
> Aman Singh ; Yuying Zhang
> ; Ferruh
Add "uint8_t last_rsvd" as union with origin rsvd1.
Add RTE_FLOW_FIELD_VXLAN_LAST_RSVD into rte flow packet
field.
The new union is used by testpmd matching item VXLAN
"last_rsvd" and modify target "vxlan_last_rsvd".
Signed-off-by: Rongwei Liu
Acked-by: Darius
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdl
v7: squash, add more commit logs.
v6: add union into vxlan header.
v5: change the field enumeration naming.
v4: specify the limitation with exact port number.
v3: squash testpmd and rte_flow into one commit.
v2: patch split.
Rongwei Liu (3):
app/testpmd: fix the testpmd field string sequence
BR
Rongwei
> -Original Message-
> From: Thomas Monjalon
> Sent: Wednesday, June 5, 2024 18:42
> To: rongwei liu
> Cc: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko
> ; Ori Kam ; Suanming Mou
>
> Subject: Re: [PATCH v6 2/4] net: add new union into VXLAN header
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Add VXLAN last reserved byte in rte flow packet field.
Add 'vxlan_last_rsvd' as the modification command string.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 1 +
lib/ethdev/rte_flow.h | 1 +
2 files changed, 2 insertions(+)
diff -
Add "uint8_t last_rsvd" as union with origin rsvd1.
Signed-off-by: Rongwei Liu
---
lib/net/rte_vxlan.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/net/rte_vxlan.h b/lib/net/rte_vxlan.h
index 997fc784fc..57300fb442 100644
--- a/lib/net/rte_vxlan.h
+++
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdl
Support to modify VXLAN last reserved byte.
v6: add union into vxlan header.
v5: change the field enumeration naming.
v4: specify the limitation with exact port number.
v3: squash testpmd and rte_flow into one commit.
v2: patch split.
Rongwei Liu (4):
app/testpmd: fix the testpmd field string
BR
Rongwei
From: Thomas Monjalon
Sent: Wednesday, June 5, 2024 17:35
To: rongwei liu
Cc: Dariusz Sosnowski ; dev@dpdk.org ;
Matan Azrad ; Slava Ovsiienko ; Ori
Kam ; Suanming Mou ; Aman Singh
; Yuying Zhang ; Ferruh
Yigit ; Andrew Rybchenko
Subject: Re
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Add VXLAN last reserved byte in rte flow packet field.
Add 'vxlan_last_rsvd' as the modification command string.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 1 +
lib/ethdev/rte_flow.h | 1 +
2 files changed, 2 insertions(+)
diff -
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdl
Support to modify VXLAN last reserved byte.
v5: change the field enumeration naming.
v4: specify the limitation with exact port number.
v3: squash testpmd and rte_flow into one commit.
v2: patch split.
Rongwei Liu (3):
app/testpmd: fix the testpmd field string sequence
ethdev: add VXLAN last
BR
Rongwei
From: Thomas Monjalon
Sent: Wednesday, June 5, 2024 15:13
To: Dariusz Sosnowski ; rongwei liu
Cc: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; Aman Singh ; Yuying Zhang
; Ferruh Yigit ; Andrew Rybchenko
Subject: Re
BR
Rongwei
From: Thomas Monjalon
Sent: Wednesday, June 5, 2024 2:37
To: rongwei liu ; Dariusz Sosnowski
Cc: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; Aman Singh ; Yuying Zhang
; Ferruh Yigit ; Andrew Rybchenko
Subject: Re
BR
Rongwei
From: Thomas Monjalon
Sent: Tuesday, June 4, 2024 23:03
To: rongwei liu
Cc: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; Dariusz Sosnowski ; Aman Singh
; Yuying Zhang ; Ferruh
Yigit ; Andrew Rybchenko
Subject: Re
Add VXLAN last reserved byte in rte flow packet field.
Add 'vxlan_last_rsvd' as the modification command string.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 1 +
lib/ethdev/rte_flow.h | 1 +
2 files changed, 2 insertions(+)
diff -
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdl
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Support to modify VXLAN the last byte reserved field.
v4: specify the limitation with exact port number.
v3: squash testpmd and rte_flow into one commit.
v2: patch split.
Rongwei Liu (3):
app/testpmd: fix the testpmd field string sequence
ethdev: add VXLAN last reserved field
net/mlx5
BR
Rongwei
From: Thomas Monjalon
Sent: Tuesday, June 4, 2024 20:19
To: rongwei liu
Cc: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; Dariusz Sosnowski
Subject: Re: [PATCH v2 4/4] net/mlx5: implement VXLAN last reserved
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Add VXLAN last reserved byte in rte flow packet field.
Add 'vxlan_last_rsvd' as the modification command string.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 1 +
lib/ethdev/rte_flow.h | 1 +
2 files changed, 2 insertions(+)
diff -
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdl
Support to modify VXLAN the last byte reserved field.
v3: squash testpmd and rte_flow into one commit.
v2: patch split.
Rongwei Liu (3):
app/testpmd: fix the testpmd field string sequence
ethdev: add VXLAN last reserved field
net/mlx5: implement VXLAN last reserved modification
app/test
BR
Rongwei
From: Thomas Monjalon
Sent: Tuesday, June 4, 2024 19:59
To: rongwei liu
Cc: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; Dariusz Sosnowski ; Ferruh Yigit
; Andrew Rybchenko
Subject: Re: [PATCH v2 2/4] ethdev: add
Thanks
BR
Rongwei
____________
From: Rongwei Liu
Sent: Monday, May 27, 2024 10:47
To: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; NBU-Contact-Thomas Monjalon (EXTERNAL)
Cc: Dariusz Sosnowski ; Ferruh Yigit
; Andrew Rybchenko
Subject: [PATCH v2 2/4] ethdev: add V
Hi
@Dariusz Sosnowski<mailto:dsosnow...@nvidia.com> Can you comment on this patch?
Thanks.
BR
Rongwei
From: Rongwei Liu
Sent: Monday, May 27, 2024 10:47
To: dev@dpdk.org ; Matan Azrad ; Slava
Ovsiienko ; Ori Kam ; Suanming Mou
; NBU-Contact-
Hi
BR
Rongwei
From: Dariusz Sosnowski
Sent: Friday, May 24, 2024 23:53
To: rongwei liu ; dev@dpdk.org ; Matan Azrad
; Slava Ovsiienko ; Ori Kam
; Suanming Mou ; NBU-Contact-Thomas
Monjalon (EXTERNAL)
Cc: Aman Singh ; Yuying Zhang
Subject: RE: [PATCH v1
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Add VXLAN last reserved byte in rte flow packet field.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
lib/ethdev/rte_flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 6e8ab1d4c7..b807713cec 100644
--- a/lib/ethdev
Add 'vxlan_last_rsvd' as the modification command string.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index
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: michae...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
---
app/test-pmd/cmdline_flow.c | 4 ++--
1 file
Support to modify VXLAN the last byte reserved field.
v2: patch split.
Rongwei Liu (4):
app/testpmd: fix the testpmd field string sequence
ethdev: add VXLAN last reserved field
app/testpmd: add VXLAN last reserved modification command
net/mlx5: implement VXLAN last reserved modification
Implementing the VxLAN last reserved byte modification.
Following the RFC, the field is only 1 byte and needs to
use the field_length as 8 instead of the real dst_field->size.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/
Add VXLAN last reserved byte in rte flow packet field.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
lib/ethdev/rte_flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 6e8ab1d4c7..b807713cec 100644
--- a/lib/ethdev
Add 'vxlan_last_rsvd' as the modification command string.
Signed-off-by: Rongwei Liu
Acked-by: Dariusz Sosnowski
---
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
Support to modify VXLAN the last byte reserved field.
Rongwei Liu (3):
ethdev: add VXLAN last reserved field
app/testpmd: add VXLAN last reserved modification command
net/mlx5: implement VXLAN last reserved modification
app/test-pmd/cmdline_flow.c | 4 ++--
doc/guides/nics/mlx5.rst
Support VxLAN all fields support.
To match GBP or GPE extension, the user needs to set
the right UDP destination port plus the desired VxLAN
flag bits.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst | 18
Add VxLAN last reserved bytes in rte flow packet fields.
Signed-off-by: Rongwei Liu
---
lib/ethdev/rte_flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index 6e8ab1d4c7..5aaa0dc96f 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev
In the rte_flow_field_data structure, the flex item handle is part
of union with other members like level/tag_index.
If the user wants to modify the flex item as source or destination,
there should not be any checking against zero.
Signed-off-by: Rongwei Liu
Fixes: c23626f27b09 ("ethdev
Update the name to the right one: "src_tag_index"
Signed-off-by: Rongwei Liu
Fixes: c23626f27b09 ("ethdev: add MPLS header modification")
Cc: michae...@nvidia.com
Cc: sta...@dpdk.org
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file changed, 1 inse
v2: rebase.
Rongwei Liu (2):
app/testpmd: fix modify tag typo
net/mlx5: fix modify flex item error
app/test-pmd/cmdline_flow.c | 2 +-
drivers/net/mlx5/mlx5_flow.c| 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 6 --
3 files changed, 6 insertions(+), 4 deletions(-)
--
2.27.0
February 22, 2024 0:42
To: rongwei liu ; dev@dpdk.org ; Matan Azrad
; Slava Ovsiienko ; Ori Kam
; Suanming Mou ; NBU-Contact-Thomas
Monjalon (EXTERNAL)
Cc: Michael Baum ; sta...@dpdk.org ;
Dariusz Sosnowski ; Aman Singh
; Yuying Zhang
Subject: Re: [PATCH v1 1/2] app/testpmd: fix mod
In the rte_flow_field_data structure, the flex item handle is part
of union with other members like level/tag_index.
If the user wants to modify the flex item as source or destination,
there should not be any checking against zero.
Signed-off-by: Rongwei Liu
Fixes: 7ea38955b ("ethdev: u
Update the name to the right one: "src_tag_index"
Signed-off-by: Rongwei Liu
Fixes: 7ea38955b ("ethdev: update MPLS header modification API")
Cc: michae...@nvidia.com
Cc: sta...@dpdk.org
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file change
Fix flex item modification typo and wrong checking.
Rongwei Liu (2):
app/testpmd: fix modify tag typo
net/mlx5: fix modify flex item error
app/test-pmd/cmdline_flow.c | 2 +-
drivers/net/mlx5/mlx5_flow.c| 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 6 --
3 files changed, 6
ocess' heap.
Return ENOTSUP as workaround.
Signed-off-by: Rongwei Liu
Acked-by: Matan Azrad
Fixes: 750e48c7d ("common/mlx5: add DevX commands for queue counters")
Cc: ma...@nvidia.com
Cc: sta...@dpdk.org
---
drivers/net/mlx5/linux/mlx5_os.c | 8 +++-
1 file changed, 7 inserti
Due to hardware limitations, the relaxed mode is not supported,
otherwise, packets may mismatch.
Signed-off-by: Rongwei Liu
Acked-by: Suanming Mou
Acked-by: Thomas Monjalon
---
doc/guides/nics/mlx5.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides
When matching srv6 packets, the IPv6 protocol is set to
0x2b by srv6 callback in fc[IP_PROTO].
In the next layer, TCP/UDP callback reset the fc again to
the corresponding values: 0x11/0x6.
Signed-off-by: Rongwei Liu
Fixes: 00e579166cc0 ("net/mlx5: support IPv6 routing extension matching
(sport=100,dport=100)
Packet hit. Hardware cached the IPv6 routing extension information
in the 1st packet and plus the UDP dport in the 2nd packet, it
matches the rule by mistake.
Signed-off-by: Rongwei Liu
Cc: sta...@dpdk.org
Reviewed-by: Erez Shitrit
Acked-by: Suanming Mou
---
Fix potential mismatching when IPv6 routing extension item enabled.
Rongwei Liu (2):
net/mlx5/hws: disable IPv6 routing extension relaxed mode
net/mlx5/hws: fix srv6 mismatching
drivers/net/mlx5/hws/mlx5dr_definer.c | 24
drivers/net/mlx5/hws/mlx5dr_definer.h | 1
. The matching mask should be checked instead.
Fixes: 630a587bfb37 ("net/mlx5: support matching on VXLAN reserved field")
Cc: rongw...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 18 +-
1
Only pop action can work well.
Signed-off-by: Rongwei Liu
Reviewed-by: Erez Shitrit
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_action.c | 115 +++
drivers/net/mlx5/hws/mlx5dr_action.h | 7 ++
2 files changed, 87 insertions(+), 35 deletions(-)
diff --git a/dr
address
when creating dr_action. This is a false alert. Initialize it
to NULL to fix the warning.
Fixes: a50f6d3fe58d ("net/mlx5/hws: add IPv6 routing extension push remove
actions")
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_ac
Reserve the push data buffer for each job and the maximum
length is set to 128 for now.
Only supports type IPPROTO_ROUTING when translating the rte
flow action.
Remove actions must be shared globally and only supports next layer
as TCP or UDP.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
.
Setter which requires no reparse can't share the same one with
the one has reparse enabled even if there is spare space.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_action.c | 174 +++
drivers/net/mlx
Add two dr_actions to implement IPv6 routing extension push and
remove, the new actions are multiple actions combination instead
of new types.
Basically, there are two modify headers plus one reformat action.
Action order is the same as encap and decap actions.
Signed-off-by: Rongwei Liu
When removing the IPv6 routing extension header from the
packets, the destination address should be updated to the
last one in the segment list.
Enlarge the hardware sample scope to cover the last segment.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
---
drivers/net
A valid rte_errno is desired when DR layer api returns error
and it can't over-write the value set by under-layer.
Fixes: 0a2657c4ff4d ("net/mlx5/hws: support insert header action")
Cc: hamd...@nvidia.com
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
-
From: Alex Vesker
With dynamic re-parse we would always require re-parse but
this is not always necessary. Re-parse is only needed when
the packet structure is changed. This support will allow
dynamically deciding based on the action pattern if re-parse
is required or no.
Signed-off-by: Alex Ves
From: Alex Vesker
The re-parse value when jumping to action STEs was set to
NEVER leading to cases in which 2 STCs accessed the re-parse
bit causing hw_syndrome (0x3d). The solution is to use set
re-parse mode to IGNORE in such case.
Fixes: 2b3d3097a10a ("net/mlx5/hws: support dynamic re-parse")
From: Alex Vesker
Each steering entry (STE) has a bit called re-parse used for
re-parsing the packet in HW, re-parsing is needed after
reformat (e.g. push/pop/encapsulate/...) or when modifying the
packet headers requiring structure change (e.g. TCP to UDP).
Until now we re-parsed the packet in e
From: Alex Vesker
Current TIR action is allowed to be used only for NIC RX,
this will allow TIR action over FDB for RX traffic in case
of TX traffic packets will be dropped.
Signed-off-by: Alex Vesker
Reviewed-by: Erez Shitrit
Acked-by: Matan Azrad
---
drivers/common/mlx5/mlx5_prm.h |
From: Hamdan Igbaria
Support remove header action, this action will allow the user
to execute dynamic decaps by choosing to decap by providing a
start anchor and number of words to remove, or providing a
start anchor and end anchor.
Signed-off-by: Hamdan Igbaria
Reviewed-by: Alex Vesker
Acked-
From: Hamdan Igbaria
Support insert header action, this will allow encap at
a specific anchor and offset selected by the user.
Signed-off-by: Hamdan Igbaria
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr.h | 36
drivers/net/mlx5/hws/mlx5dr_actio
: dynamic re-parse for modify header
net/mlx5/hws: fix incorrect re-parse on complex rules
Hamdan Igbaria (2):
net/mlx5/hws: support insert header action
net/mlx5/hws: support remove header action
Rongwei Liu (7):
net/mlx5: sample the srv6 last segment
net/mlx5/hws: fix potential wrong
Only pop action can work well.
Signed-off-by: Rongwei Liu
Reviewed-by: Erez Shitrit
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_action.c | 115 +++
drivers/net/mlx5/hws/mlx5dr_action.h | 7 ++
2 files changed, 87 insertions(+), 35 deletions(-)
diff --git a/dr
Reserve the push data buffer for each job and the maximum
length is set to 128 for now.
Only supports type IPPROTO_ROUTING when translating the rte
flow action.
Remove actions must be shared globally and only supports next layer
as TCP or UDP.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
A valid rte_errno is desired when DR layer api returns error
and it can't over-write the value set by under-layer.
Fixes: a318b3d54772 ("net/mlx5/hws: support insert header action")
Cc: hamd...@nvidia.com
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
-
.
Setter which requires no reparse can't share the same one with
the one has reparse enabled even if there is spare space.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_action.c | 174 +++
drivers/net/mlx
Add two dr_actions to implement IPv6 routing extension push and
remove, the new actions are multiple actions combination instead
of new types.
Basically, there are two modify headers plus one reformat action.
Action order is the same as encap and decap actions.
Signed-off-by: Rongwei Liu
Support IPv6 extension push/remove actions in MLX5 PMD.
Routing extension is the only supported type.
v3: rebase.
v2: add reparse control and rebase.
Rongwei Liu (6):
net/mlx5: sample the srv6 last segment
net/mlx5/hws: fix potential wrong errno value
net/mlx5/hws: add IPv6 routing
When removing the IPv6 routing extension header from the
packets, the destination address should be updated to the
last one in the segment list.
Enlarge the hardware sample scope to cover the last segment.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
---
drivers/net
Reserve the push data buffer for each job and the maximum
length is set to 128 for now.
Only supports type IPPROTO_ROUTING when translating the rte
flow action.
Remove actions must be shared globally and only supports next layer
as TCP or UDP.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
.
Setter which requires no reparse can't share the same one with
the one has reparse enabled even if there is spare space.
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_action.c | 174 +++
drivers/net/mlx
Only pop action can work well.
Signed-off-by: Rongwei Liu
Reviewed-by: Erez Shitrit
Acked-by: Ori Kam
---
drivers/net/mlx5/hws/mlx5dr_action.c | 115 +++
drivers/net/mlx5/hws/mlx5dr_action.h | 7 ++
2 files changed, 87 insertions(+), 35 deletions(-)
diff --git a/dr
A valid rte_errno is desired when DR layer api returns error
and it can't over-write the value set by under-layer.
Fixes: 890db3e2b90 ("net/mlx5/hws: support insert header action")
Cc: hamd...@nvidia.com
Signed-off-by: Rongwei Liu
Reviewed-by: Alex Vesker
Acked-by: Ori Kam
-
Add two dr_actions to implement IPv6 routing extension push and
remove, the new actions are multiple actions combination instead
of new types.
Basically, there are two modify headers plus one reformat action.
Action order is the same as encap and decap actions.
Signed-off-by: Rongwei Liu
Support IPv6 extension push/remove in MLX5 PMD.
Routing extension is the only supported type.
v2: add reparse control and rebase.
Rongwei Liu (6):
net/mlx5: sample the srv6 last segment
net/mlx5/hws: fix potential wrong errno value
net/mlx5/hws: add IPv6 routing extension push remove
When removing the IPv6 routing extension header from the
packets, the destination address should be updated to the
last one in the segment list.
Enlarge the hardware sample scope to cover the last segment.
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
---
drivers/net
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
v4, v3: add macro to fix build failure
v2: rebase
---
drivers/net/mlx5/mlx5_flow.c| 7 +
drivers/net/mlx5/mlx5_flow.h| 16 ++
drivers/net/mlx5/mlx5_flow_hw.c | 323
3 files changed
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
v3: Protect with macro to fix warning.
v2: Code rebase
---
drivers/net/mlx5/mlx5_flow.c| 5 +
drivers/net/mlx5/mlx5_flow.h| 16 ++
drivers/net/mlx5/mlx5_flow_hw.c | 323
3 files
Signed-off-by: Rongwei Liu
Acked-by: Ori Kam
Acked-by: Suanming Mou
v2: Code rebase
---
drivers/net/mlx5/mlx5_flow.c| 5 +
drivers/net/mlx5/mlx5_flow.h| 16 ++
drivers/net/mlx5/mlx5_flow_hw.c | 323
3 files changed, 344 insertions(+)
diff --git a
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
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: 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
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
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
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
1 - 100 of 432 matches
Mail list logo