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 E9904A0524 for ; Fri, 5 Feb 2021 12:21:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E36624067B; Fri, 5 Feb 2021 12:21:09 +0100 (CET) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id 1568B4067B for ; Fri, 5 Feb 2021 12:21:09 +0100 (CET) Received: by mail-wr1-f43.google.com with SMTP id a1so7279568wrq.6 for ; Fri, 05 Feb 2021 03:21:09 -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=qE0xpLnTHcF+xSG4xxTcyDuQBxTSLhnHufAu5E5w3zk=; b=nqcf4dNRXIB7y5LfQK8y23klEtLrLLEdmKE6hzaPXpXCOFYFmPT348OsKXGEHjVfBL 3cu5kUZMhLkCqEqhxOeGpT4LdYBNmRWFjwYBHwVhOBKpoE8/6mlqC+EEkKEQXRF14zvA jNNzkrC3i82+TnyiLe5Qj3Zm3dEzWDdtwA263xOi2bycAF21z8CeXa1OlGICWALglnrJ xj3IdvkhVxXa5Olpz3ZgNH1ja+QLBGQHzR/SoioFTLGgfM+lV6KY4+viwzN2rpienDDS LVbtdg/0Ez9vDyMZ79f9FJbD3GM6yA9IF9BF/baG8ftPiGdOPDFZwcZprRvpIsWG7PCr rJfg== 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=qE0xpLnTHcF+xSG4xxTcyDuQBxTSLhnHufAu5E5w3zk=; b=UBp8OBxoSlo8xGe9OFYujbPQMkzY5JJ5O4sVFTERkwuL6nU1tJzUCvWPIcapkpHxzx Bb/3H0yNRnT8yYOuQLOdqqqODhc31LGEcsNM3aOwfFjsQlz9YKW/wosZC+223lqq9Q2b Ls6OTlKKbuCvW6K1LyzE8lFqwxkgAI3Tc1fu8X6+LK2PtjrDL8OWrOYfI/zfcljfRmZg GvPrsJyLU+dkMCT+Bz4lTjb6eGTRdN1D+t+5NOPbfHEqUCdzEkys9/rhMhXjIKiRrl1e x0yrN9MWgrLbOkFfl30h8hQwkTZPv2WemSQW43i1nwVZHZ1TV1F47JMB/JklRgQVIRFL NX1g== X-Gm-Message-State: AOAM531SQ5sd1YlEvGo8j/zh0BSdLixiwBeLoR1D7O1kBnFuzxDgKr9b EczZIhFmwI16bl0sPR2fquY= X-Google-Smtp-Source: ABdhPJxWxGL1ZNx+BsMNCRGwN3xIdKSz0tRSocb6iwdXmfzT3PLV21jA16fvwzFQQZzRqrTUvLEEgA== X-Received: by 2002:a5d:4646:: with SMTP id j6mr4550593wrs.38.1612524068898; Fri, 05 Feb 2021 03:21:08 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id f3sm9319241wme.26.2021.02.05.03.21.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:21:08 -0800 (PST) From: luca.boccassi@gmail.com To: Dekel Peled Cc: Matan Azrad , dpdk stable Date: Fri, 5 Feb 2021 11:15:17 +0000 Message-Id: <20210205111920.1272063-31-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 'net/mlx5: fix shared age action validation' 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/3939a6a8ac641b57648dec22e44453a81fd5dd75 Thanks. Luca Boccassi --- >From 3939a6a8ac641b57648dec22e44453a81fd5dd75 Mon Sep 17 00:00:00 2001 From: Dekel Peled Date: Tue, 24 Nov 2020 15:45:35 +0200 Subject: [PATCH] net/mlx5: fix shared age action validation [ upstream commit 4165bfd20d2c2f3670f88f901dcd5e8f7479d0ed ] Previous patch added support of shared age action. This feature is supported on group 1 and higher, and validation was added accordingly. On FDB table the group 0 is skipped to improve performance. As a result the mentioned validation is not relevant for transfer rules. This patch adds the required check to ensure proper validation. Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination") Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow_dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index aa21ff9613..e9badb800e 100644 --- a/drivers/net/mlx5/mlx5_flow_dv.c +++ b/drivers/net/mlx5/mlx5_flow_dv.c @@ -5955,7 +5955,7 @@ flow_dv_validate(struct rte_eth_dev *dev, const struct rte_flow_attr *attr, rw_act_num += MLX5_ACT_NUM_SET_TAG; break; case MLX5_RTE_FLOW_ACTION_TYPE_AGE: - if (!attr->group) + if (!attr->transfer && !attr->group) return rte_flow_error_set(error, ENOTSUP, RTE_FLOW_ERROR_TYPE_UNSPECIFIED, NULL, -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:30.686245906 +0000 +++ 0031-net-mlx5-fix-shared-age-action-validation.patch 2021-02-05 11:18:28.658688294 +0000 @@ -1 +1 @@ -From 4165bfd20d2c2f3670f88f901dcd5e8f7479d0ed Mon Sep 17 00:00:00 2001 +From 3939a6a8ac641b57648dec22e44453a81fd5dd75 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 4165bfd20d2c2f3670f88f901dcd5e8f7479d0ed ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org