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 BDCE6A0524 for ; Fri, 5 Feb 2021 12:38:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B57CD4067B; Fri, 5 Feb 2021 12:38:00 +0100 (CET) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mails.dpdk.org (Postfix) with ESMTP id 29D4E188A49 for ; Fri, 5 Feb 2021 12:37:59 +0100 (CET) Received: by mail-wr1-f45.google.com with SMTP id a1so7334825wrq.6 for ; Fri, 05 Feb 2021 03:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F11mYp1NqqoIj0CY0lTN8uMcdIdNOfKkSW9KPdt5R6A=; b=WnzS+HuvDCO9sdqyzTw92WPs8HL7G+EkzCDE+o5yZ37drzqA7Nj2eIhlGjitrFf8MP mVoxNou41fahHnm31oiBLur8AyNNqeXAn0+4O3+2oBDIpmhbj3BWWnWmtLnkvzDd/tED pcjlxELYoxh6n4dC0leXJ6lfKnB1RFV+kC6pJjY+GhiCVb/84lLdAI7PrE49dkB2I7VN gkDz04QzcIOa9Yi5uHqWEuAeDF0eSjS3oPFHgkVkPtb79o6oWCAuKNYCxjnbhgclJYj6 GIehcLeOI62+Pd1eF392Q5pu4qi5R6ttT+3hkuyH8lSXOhTYJe4BY87txW44EROcEzCE Kx2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F11mYp1NqqoIj0CY0lTN8uMcdIdNOfKkSW9KPdt5R6A=; b=UbnOZfLNYztcXXz3P/h0QlEwKNY4ID5AkThtOXUmc/Yn1+zTYC1aQfyMQYm/enz2iG RnAPjznVFD+mRlD+oO0zJwtxIlanSMWzTrOcpHW59NHsjoqyo+FKl4tAe1xvjNvYepAJ 4+ZMMAzCjBP6g294Lk+9w85WLvbxlCGOam/dBS2EV/ov8qKOq0NRHzj/cPzIDgfA7FyQ 9+kpkUdDM7L7Y5V6qUfdbxOryS3Lzl1hKRMPJ3ZAxkMvTKMScDpanMdXboDMKv7oKLBh Hexj+XRmhAPYxOO8FoRrJVRsGCSHQJBGG+iuYLTVHi70MYemI0pRTAEM3JBg9pspybsK BYmg== X-Gm-Message-State: AOAM532F22CoH0NypNi8bKpcHCvWo0iA6Ep+fgrjCG5QJjdX0ZqlReM+ a6q7RLuqvZXQWZ0LWeP8GBrWFxtuf7eo3kVI X-Google-Smtp-Source: ABdhPJw/AfbNeoUwZPERrbfMzOtZi9Vk4jbOO4GbQ8hTIOAfIRtEglMgpbh1SAIE4TPHjDUOXFnCOw== X-Received: by 2002:a5d:453b:: with SMTP id j27mr4616119wra.92.1612525078971; Fri, 05 Feb 2021 03:37:58 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id 23sm8466105wmo.47.2021.02.05.03.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:37:58 -0800 (PST) From: luca.boccassi@gmail.com To: Viacheslav Ovsiienko Cc: dpdk stable Date: Fri, 5 Feb 2021 11:18:46 +0000 Message-Id: <20210205111920.1272063-240-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.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 20.11.1 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 20.11.1 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/07/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/af2b80f83d23919f8529ab8c749dbada588253a3 Thanks. Luca Boccassi --- >From af2b80f83d23919f8529ab8c749dbada588253a3 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 6950cc1188..b7e285b8f5 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -807,7 +807,7 @@ Driver options +------+-----------+-----------+-------------+-------------+ | 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 @@ -819,6 +819,15 @@ 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. + + 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.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:39.759157328 +0000 +++ 0240-doc-update-flow-mark-action-in-mlx5-guide.patch 2021-02-05 11:18:29.242699412 +0000 @@ -1 +1 @@ -From 3ceeed9f7855368cc755f440a938f199c9654253 Mon Sep 17 00:00:00 2001 +From af2b80f83d23919f8529ab8c749dbada588253a3 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 6950cc1188..b7e285b8f5 100644 @@ -20 +21 @@ -@@ -840,7 +840,7 @@ Driver options +@@ -807,7 +807,7 @@ Driver options @@ -29 +30 @@ -@@ -852,6 +852,15 @@ Driver options +@@ -819,6 +819,15 @@ Driver options