[PATCH] doc: document mlx5 HWS actions order
Maayan Kashani
mkashani at nvidia.com
Wed Jul 17 14:56:22 CEST 2024
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 at dpdk.org
Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at 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
More information about the dev
mailing list