From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 404DFA0524 for ; Thu, 4 Feb 2021 12:37:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35BED240777; Thu, 4 Feb 2021 12:37:47 +0100 (CET) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by mails.dpdk.org (Postfix) with ESMTP id 06222240757 for ; Thu, 4 Feb 2021 12:37:46 +0100 (CET) Received: from 2.general.paelzer.uk.vpn ([10.172.196.173] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l7cxF-0005gl-Rl; Thu, 04 Feb 2021 11:37:45 +0000 From: Christian Ehrhardt To: Viacheslav Ovsiienko Cc: dpdk stable Date: Thu, 4 Feb 2021 12:29:23 +0100 Message-Id: <20210204112954.2488123-108-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210204112954.2488123-1-christian.ehrhardt@canonical.com> References: <20210204112954.2488123-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'doc: update flow mark action in mlx5 guide' has been queued to stable release 19.11.7 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/06/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/307c249c073f71c80edee895943d5df6005126cc Thanks. Christian Ehrhardt --- >From 307c249c073f71c80edee895943d5df6005126cc Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Fri, 11 Dec 2020 12:05:40 +0000 Subject: [PATCH] doc: update flow mark action in mlx5 guide [ upstream commit 3ceeed9f7855368cc755f440a938f199c9654253 ] There some limitations added for the MARK action value range. Fixes: 2d241515ebaf ("net/mlx5: add devarg for extensive metadata support") Signed-off-by: Viacheslav Ovsiienko --- doc/guides/nics/mlx5.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 5543850be2..9e4a659ab9 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -693,7 +693,7 @@ Run-time configuration +------+-----------+-----------+-------------+-------------+ | 1 | 24 bits | vary 0-32 | 32 bits | yes | +------+-----------+-----------+-------------+-------------+ - | 2 | vary 0-32 | 32 bits | 32 bits | yes | + | 2 | vary 0-24 | 32 bits | 32 bits | yes | +------+-----------+-----------+-------------+-------------+ If there is no E-Switch configuration the ``dv_xmeta_en`` parameter is @@ -705,6 +705,15 @@ Run-time configuration 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. + + 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 + MARK action values is 0-0xFFEF for the 16-bit mode and 0-xFFFFEF + for the 24-bit mode, the flows with the MARK action value outside + the specified range will be rejected. + - ``dv_flow_en`` parameter [int] A nonzero value enables the DV flow steering assuming it is supported -- 2.30.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-04 12:04:32.471009956 +0100 +++ 0108-doc-update-flow-mark-action-in-mlx5-guide.patch 2021-02-04 12:04:28.130789826 +0100 @@ -1 +1 @@ -From 3ceeed9f7855368cc755f440a938f199c9654253 Mon Sep 17 00:00:00 2001 +From 307c249c073f71c80edee895943d5df6005126cc Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3ceeed9f7855368cc755f440a938f199c9654253 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ -index 17659521a9..13fd1d8a61 100644 +index 5543850be2..9e4a659ab9 100644 @@ -20 +21 @@ -@@ -840,7 +840,7 @@ Driver options +@@ -693,7 +693,7 @@ Run-time configuration @@ -29 +30 @@ -@@ -852,6 +852,15 @@ Driver options +@@ -705,6 +705,15 @@ Run-time configuration