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 D4D2E5911 for ; Wed, 24 Oct 2018 08:23:16 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 24 Oct 2018 08:28:19 +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 w9O6MjT5014735; Wed, 24 Oct 2018 09:23:12 +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: Wed, 24 Oct 2018 09:22:00 +0300 Message-Id: <1540362120-14570-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 v2 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: Wed, 24 Oct 2018 06:23:17 -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 --- v2: Restore the correct 'mask' description. --- Signed-off-by: Dekel Peled --- doc/guides/prog_guide/rte_flow.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/guides/prog_guide/rte_flow.rst b/doc/guides/prog_guide/rte_flow.rst index 6fb0535..5c5dd90 100644 --- a/doc/guides/prog_guide/rte_flow.rst +++ b/doc/guides/prog_guide/rte_flow.rst @@ -1202,15 +1202,15 @@ Matches an application specific 32 bit metadata item. .. 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