summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSuanming Mou <suanmingm@nvidia.com>2023-10-30 10:28:26 +0800
committerRaslan Darawsheh <rasland@nvidia.com>2023-10-31 12:59:48 +0100
commit3dce73a2fd905b3fe8da1536c1660e8261a1c69d (patch)
tree3c3ed68d9149d4b18abe1c2dea174bf9defff950 /doc
parent5e26c99fd074692cb2a0b8aad8db6b70fc13d238 (diff)
net/mlx5: support port representor flow action
The packets handled by port representor action will be steered to E-Switch manager and received by software. This commit adds port representor action. Signed-off-by: Suanming Mou <suanmingm@nvidia.com> Acked-by: Ori Kam <orika@nvidia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/nics/features/mlx5.ini1
-rw-r--r--doc/guides/nics/mlx5.rst7
-rw-r--r--doc/guides/rel_notes/release_23_11.rst1
3 files changed, 9 insertions, 0 deletions
diff --git a/doc/guides/nics/features/mlx5.ini b/doc/guides/nics/features/mlx5.ini
index b5df34d0f1..0ed9a6aefc 100644
--- a/doc/guides/nics/features/mlx5.ini
+++ b/doc/guides/nics/features/mlx5.ini
@@ -120,6 +120,7 @@ of_push_vlan = Y
of_set_vlan_pcp = Y
of_set_vlan_vid = Y
port_id = Y
+port_representor = Y
quota = I
queue = Y
raw_decap = Y
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 72130e15df..5d64ad8810 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -730,6 +730,13 @@ Limitations
- The NIC egress flow rules on representor port are not supported.
+- A driver limitation for ``RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR`` action
+ restricts the ``port_id`` configuration to only accept the value ``0xffff``,
+ indicating the E-Switch manager.
+ If the ``repr_matching_en`` flag is enabled, the traffic will be directed
+ to the representor of the source virtual port (SF/VF), while if it is disabled,
+ the traffic will be routed based on the steering rules in the ingress domain.
+
- Send to kernel action (``RTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL``):
- Supported on non-root table.
diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst
index 7757207243..26a63e773a 100644
--- a/doc/guides/rel_notes/release_23_11.rst
+++ b/doc/guides/rel_notes/release_23_11.rst
@@ -180,6 +180,7 @@ New Features
* Added support for Network Service Header (NSH) flow matching.
* Added support for ``RTE_FLOW_ITEM_TYPE_PTYPE`` flow item.
+ * Added support for ``RTE_FLOW_ACTION_TYPE_PORT_REPRESENTOR`` flow action.
* Added support for ``RTE_FLOW_ACTION_TYPE_INDIRECT_LIST`` flow action.
* **Updated Solarflare net driver.**