]> git.droids-corp.org - dpdk.git/commitdiff
doc: fix modify field action description for mlx5
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Thu, 24 Feb 2022 16:01:36 +0000 (18:01 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 10 Mar 2022 08:29:19 +0000 (09:29 +0100)
This patch adds mlx5 specifics description about
handling the Ethernet type by modify field action
for VLAN-ed traffic.

Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/mlx5.rst

index ca7ebbe9cda9b093e22c4e97a9f31fbfb2293365..3c3687ac737e50a5aa86c229f43f89a12fb6f7a8 100644 (file)
@@ -410,6 +410,12 @@ Limitations
   - Modification of the 802.1Q Tag, VXLAN Network or GENEVE Network ID's is not supported.
   - Encapsulation levels are not supported, can modify outermost header fields only.
   - Offsets must be 32-bits aligned, cannot skip past the boundary of a field.
+  - If the field type is ``RTE_FLOW_FIELD_MAC_TYPE``
+    and packet contains one or more VLAN headers,
+    the meaningful type field following the last VLAN header
+    is used as modify field operation argument.
+    The modify field action is not intended to modify VLAN headers type field,
+    dedicated VLAN push and pop actions should be used instead.
 
 - IPv6 header item 'proto' field, indicating the next header protocol, should
   not be set as extension header.