From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 644391B4F0 for ; Tue, 23 Oct 2018 15:59:37 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 23 Oct 2018 15:34:39 +0200 Received: from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx [10.128.130.87]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w9NDTTYD030043; Tue, 23 Oct 2018 16:29:33 +0300 From: Dekel Peled To: wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com, olivier.matz@6wind.com, adrien.mazarguil@6wind.com, thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com Cc: shahafs@mellanox.com, dev@dpdk.org, orika@mellanox.com, dekelp@mellanox.com Date: Tue, 23 Oct 2018 16:28:51 +0300 Message-Id: <1540301331-51065-2-git-send-email-dekelp@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1540301331-51065-1-git-send-email-dekelp@mellanox.com> References: <1540301331-51065-1-git-send-email-dekelp@mellanox.com> Subject: [dpdk-dev] [PATCH 2/2] ethdev: fix metadata documentation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 13:59:37 -0000 Previous patch introduced the Tx metadata feature, with unnecessary restrictions on data entry. This fix updates the documentation, removing the data entry restrictions on metadata item. Fixes: aa0b9484eb5f ("ethdev: support metadata as flow rule criteria") Cc: dekelp@mellanox.com Signed-off-by: Dekel Peled --- doc/guides/prog_guide/rte_flow.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst index 6fb0535..d6683e4 100644 --- a/doc/guides/prog_guide/rte_flow.rst +++ b/doc/guides/prog_guide/rte_flow.rst @@ -1196,21 +1196,21 @@ Item: ``META`` Matches an application specific 32 bit metadata item. -- Default ``mask`` matches the specified metadata value. +- Default ``mask`` matches any 32 bit value. .. _table_rte_flow_item_meta: .. table:: META - +----------+----------+-----------------------+ - | Field | Subfield | Value | - +==========+==========+=======================+ - | ``spec`` | ``data`` | 32 bit metadata value | - +----------+----------------------------------+ - | ``last`` | ``data`` | ignored | - +----------+----------+-----------------------+ - | ``mask`` | ``data`` | ignored | - +----------+----------+-----------------------+ + +----------+----------+---------------------------------------+ + | Field | Subfield | Value | + +==========+==========+=======================================+ + | ``spec`` | ``data`` | 32 bit metadata value | + +----------+--------------------------------------------------+ + | ``last`` | ``data`` | upper range value | + +----------+----------+---------------------------------------+ + | ``mask`` | ``data`` | bit-mask applies to "spec" and "last" | + +----------+----------+---------------------------------------+ Actions ~~~~~~~ -- 1.8.3.1