Skip to contentSkip to conversation

doc: fix mark action zero value description in mlx5 guide

PATCH In review Viacheslav Ovsiienko 2 participants 2 messages Feb 5, 2021 – Feb 9, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix mark action zero value description in mlx5 guide

The zero value in flow MARK action is reported in Rx datapath as tagged with zero FDIR ID. Once packet is marked in flow engine it will be always reported as tagged. For metadata only the zero value means there is "no metadata" in the packet and the metadata flag is not set for the case.

Fixes 3ceeed9f7855 ("doc: update flow mark action in mlx5 guide")
---
 doc/guides/nics/mlx5.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
doc/guides/nics/mlx5.rst +4 -2
index 51d81a0206..2f3b0356d3 100644
@@ -875,8 +875,10 @@ Driver options
   of the extensive metadata features. The legacy Verbs supports FLAG and
   MARK metadata actions over NIC Rx steering domain only.
 
-  The setting MARK or META value to zero means there is no item provided and
-  receiving datapath will not report in mbufs these items are present.
+  The setting META value to zero in flow action means there is no item provided
+  and receiving datapath will not report in mbufs the metadata are present.
+  The setting MARK value to zero in flow action means the zero FDIR ID value
+  will be reported on packet receiving.
 
   For the MARK action the last 16 values in the full range are reserved for
   internal PMD purposes (to emulate FLAG action). The valid range for the
Signature · 1 line
2.18.1
#1 lore raw

Hi,

Quoted 14 lines

-----Original Message-----
From: Viacheslav Ovsiienko <[email protected]>
Sent: Friday, February 5, 2021 2:15 PM
To: [email protected]
Cc: Raslan Darawsheh <[email protected]>; Matan Azrad <[email protected]>; [email protected]
Subject: [PATCH] doc: fix mark action zero value description in mlx5 guide

The zero value in flow MARK action is reported in Rx datapath as tagged with zero FDIR ID. Once packet is marked in flow engine it will be always reported as tagged. For metadata only the zero value means there is "no metadata" in the packet and the metadata flag is not set for the case.

Quoted 5 lines
Fixes 3ceeed9f7855 ("doc: update flow mark action in mlx5 guide")

---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh