* [PATCH] doc: document mlx5 HWS actions order
@ 2024-07-17 12:36 Maayan Kashani
2024-07-17 12:56 ` Maayan Kashani
0 siblings, 1 reply; 4+ messages in thread
From: Maayan Kashani @ 2024-07-17 12:36 UTC (permalink / raw)
To: dev
Cc: mkashani, rasland, stable, Dariusz Sosnowski,
Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
Matan Azrad, Alex Vesker
Add actions order supported in mlx5 PMD when HW steering flow engine is used.
This limitation existed since HW Steering flow engine was introduced.
Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering")
Cc: stable@dpdk.org
Signed-off-by: Maayan Kashani <mkashani@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
doc/guides/nics/mlx5.rst | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 43fc181d8dc..01f6f7aa6ab 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -251,6 +251,25 @@ Limitations
IPv6 routing extension matching is not supported in flow template relaxed
matching mode (see ``struct rte_flow_pattern_template_attr::relaxed_matching``).
+ - The supported actions order is as below::
+
+ MARK(a)
+ *_DECAP(b)
+ OF_POP_VLAN
+ COUNT | AGE
+ METER_MARK | CONNTRACK
+ OF_PUSH_VLAN
+ MODIFY_FIELD
+ *_ENCAP(c)
+ JUMP | DROP | RSS(a) | QUEUE(a) | REPRESENTED_PORT(d)
+
+ a. Only supported on ingress.
+ b. Any decapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions
+ which results in L3 decapsulation.
+ c. Any encapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions
+ which results in L3 encap.
+ d. Only in transfer (switchdev) mode.
+
- When using Verbs flow engine (``dv_flow_en`` = 0), flow pattern without any
specific VLAN will match for VLAN packets as well:
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] doc: document mlx5 HWS actions order
2024-07-17 12:36 [PATCH] doc: document mlx5 HWS actions order Maayan Kashani
@ 2024-07-17 12:56 ` Maayan Kashani
2024-07-24 7:36 ` [PATCH v2] " Maayan Kashani
0 siblings, 1 reply; 4+ messages in thread
From: Maayan Kashani @ 2024-07-17 12:56 UTC (permalink / raw)
To: dev
Cc: mkashani, rasland, stable, Dariusz Sosnowski,
Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
Matan Azrad, Alex Vesker
Add actions order supported in mlx5 PMD when HW steering flow engine
is used.
This limitation existed since HW Steering flow engine was introduced.
Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering")
Cc: stable@dpdk.org
Signed-off-by: Maayan Kashani <mkashani@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
doc/guides/nics/mlx5.rst | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 43fc181d8dc..01f6f7aa6ab 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -251,6 +251,25 @@ Limitations
IPv6 routing extension matching is not supported in flow template relaxed
matching mode (see ``struct rte_flow_pattern_template_attr::relaxed_matching``).
+ - The supported actions order is as below::
+
+ MARK(a)
+ *_DECAP(b)
+ OF_POP_VLAN
+ COUNT | AGE
+ METER_MARK | CONNTRACK
+ OF_PUSH_VLAN
+ MODIFY_FIELD
+ *_ENCAP(c)
+ JUMP | DROP | RSS(a) | QUEUE(a) | REPRESENTED_PORT(d)
+
+ a. Only supported on ingress.
+ b. Any decapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions
+ which results in L3 decapsulation.
+ c. Any encapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions
+ which results in L3 encap.
+ d. Only in transfer (switchdev) mode.
+
- When using Verbs flow engine (``dv_flow_en`` = 0), flow pattern without any
specific VLAN will match for VLAN packets as well:
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] doc: document mlx5 HWS actions order
2024-07-17 12:56 ` Maayan Kashani
@ 2024-07-24 7:36 ` Maayan Kashani
2024-07-29 20:50 ` Thomas Monjalon
0 siblings, 1 reply; 4+ messages in thread
From: Maayan Kashani @ 2024-07-24 7:36 UTC (permalink / raw)
To: dev
Cc: mkashani, rasland, stable, Dariusz Sosnowski,
Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
Matan Azrad, Alex Vesker
Add actions order supported in mlx5 PMD when HW steering flow engine
is used.
This limitation existed since HW Steering flow engine was introduced.
Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering")
Cc: stable@dpdk.org
Signed-off-by: Maayan Kashani <mkashani@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
doc/guides/nics/mlx5.rst | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 43fc181d8dc..4c00bb7755c 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -251,6 +251,26 @@ Limitations
IPv6 routing extension matching is not supported in flow template relaxed
matching mode (see ``struct rte_flow_pattern_template_attr::relaxed_matching``).
+ - The supported actions order is as below::
+
+ MARK(a)
+ *_DECAP(b)
+ OF_POP_VLAN
+ COUNT | AGE
+ METER_MARK | CONNTRACK
+ OF_PUSH_VLAN
+ MODIFY_FIELD
+ *_ENCAP(c)
+ JUMP | DROP | RSS(a) | QUEUE(a) | REPRESENTED_PORT(d)
+
+ a. Only supported on ingress.
+ b. Any decapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions
+ which results in L3 decapsulation.
+ Not supported on egress.
+ c. Any encapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions
+ which results in L3 encap.
+ d. Only in transfer (switchdev) mode.
+
- When using Verbs flow engine (``dv_flow_en`` = 0), flow pattern without any
specific VLAN will match for VLAN packets as well:
--
2.21.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] doc: document mlx5 HWS actions order
2024-07-24 7:36 ` [PATCH v2] " Maayan Kashani
@ 2024-07-29 20:50 ` Thomas Monjalon
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2024-07-29 20:50 UTC (permalink / raw)
To: mkashani
Cc: dev, rasland, stable, Dariusz Sosnowski, Viacheslav Ovsiienko,
Bing Zhao, Ori Kam, Suanming Mou, Matan Azrad, Alex Vesker,
Maayan Kashani
24/07/2024 09:36, Maayan Kashani:
> Add actions order supported in mlx5 PMD when HW steering flow engine
> is used.
> This limitation existed since HW Steering flow engine was introduced.
>
> Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering")
> Cc: stable@dpdk.org
> Signed-off-by: Maayan Kashani <mkashani@nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-29 20:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-17 12:36 [PATCH] doc: document mlx5 HWS actions order Maayan Kashani
2024-07-17 12:56 ` Maayan Kashani
2024-07-24 7:36 ` [PATCH v2] " Maayan Kashani
2024-07-29 20:50 ` Thomas Monjalon
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).