From patchwork Fri Feb 5 12:15:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Slava Ovsiienko X-Patchwork-Id: 87797 X-Patchwork-Delegate: rasland@nvidia.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 46BD0A0524; Fri, 5 Feb 2021 13:15:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAFDC40682; Fri, 5 Feb 2021 13:15:10 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id A5EAF4067B for ; Fri, 5 Feb 2021 13:15:09 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@nvidia.com) with SMTP; 5 Feb 2021 14:15:06 +0200 Received: from nvidia.com (pegasus11.mtr.labs.mlnx [10.210.16.104]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 115CF6x6030526; Fri, 5 Feb 2021 14:15:06 +0200 From: Viacheslav Ovsiienko To: dev@dpdk.org Cc: rasland@nvidia.com, matan@nvidia.com, stable@dpdk.org Date: Fri, 5 Feb 2021 14:15:04 +0200 Message-Id: <20210205121504.10994-1-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 Subject: [dpdk-dev] [PATCH] doc: fix mark action zero value description in mlx5 guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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") Cc: stable@dpdk.org Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 51d81a0206..2f3b0356d3 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -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