Skip to contentSkip to conversation

doc: fix modify field action description for mlx5

PATCH Superseded Viacheslav Ovsiienko 2 participants 3 messages Feb 24, 2022 – Mar 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 doc/guides/nics/mlx5.rst | 5 +++++
 1 file changed, 5 insertions(+)
doc/guides/nics/mlx5.rst +5 -0
index 7b04e9bac5..efc971a89e 100644
@@ -407,6 +407,11 @@ 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 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.
Signature · 1 line
2.18.1
#1 lore raw

PATCH v2 1/1 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")
---
 doc/guides/nics/mlx5.rst | 5 +++++
 1 file changed, 5 insertions(+)
doc/guides/nics/mlx5.rst +5 -0
index 7b04e9bac5..7fe3855175 100644
@@ -407,6 +407,11 @@ 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.
Signature · 1 line
2.18.1
#2 lore raw

Hi,

Quoted 9 lines

-----Original Message-----
From: Slava Ovsiienko <[email protected]>
Sent: Thursday, February 24, 2022 6:02 PM
To: [email protected]
Cc: [email protected]; Xueming(Steven) Li <[email protected]>; Raslan Darawsheh <[email protected]>; Matan Azrad <[email protected]>; [email protected]
Subject: [PATCH v2] doc: fix modify field action description for mlx5

Quoted 7 lines

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")

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh