From: Viacheslav Ovsiienko Date: Thu, 24 Feb 2022 16:01:36 +0000 (+0200) Subject: doc: fix modify field action description for mlx5 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d98c04e82d6169ac32cfbe566c055b6cea8305c4;p=dpdk.git doc: fix modify field action description for mlx5 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 --- diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index ca7ebbe9cd..3c3687ac73 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -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.