From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dekel Peled Subject: [PATCH v2 2/2] ethdev: fix metadata documentation Date: Wed, 24 Oct 2018 09:22:00 +0300 Message-ID: <1540362120-14570-2-git-send-email-dekelp@mellanox.com> References: <1540301331-51065-1-git-send-email-dekelp@mellanox.com> Cc: shahafs@mellanox.com, dev@dpdk.org, orika@mellanox.com, dekelp@mellanox.com 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 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) In-Reply-To: <1540301331-51065-1-git-send-email-dekelp@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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