patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] doc: fix modify field action description for mlx5
@ 2022-02-24 15:57 Viacheslav Ovsiienko
  2022-02-24 16:01 ` [PATCH v2] " Viacheslav Ovsiienko
  0 siblings, 1 reply; 3+ messages in thread
From: Viacheslav Ovsiienko @ 2022-02-24 15:57 UTC (permalink / raw)
  To: dev; +Cc: xuemingl, rasland, matan, stable

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 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 7b04e9bac5..efc971a89e 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -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.
-- 
2.18.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-10  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24 15:57 [PATCH] doc: fix modify field action description for mlx5 Viacheslav Ovsiienko
2022-02-24 16:01 ` [PATCH v2] " Viacheslav Ovsiienko
2022-03-10  9:23   ` Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).