From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AE775A04DD for ; Wed, 28 Oct 2020 11:55:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A1721CAA3; Wed, 28 Oct 2020 11:55:21 +0100 (CET) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 3FBFFCA97 for ; Wed, 28 Oct 2020 11:55:20 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id n15so5188022wrq.2 for ; Wed, 28 Oct 2020 03:55:20 -0700 (PDT) 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=u0Tt+Vq0VzNGI1iTmLjfok/E7flU6W8dFwTV8SHEHCw=; b=L8GAetbzdLz9eQsDcg210RzyUBlnUKDGcuxbG6wzegayCzkVtmtJkiUMisEEE25TrZ 0ewUDwB7wLckxG8zM1iUE1seNSTkjA9kFtiUjYcL/urGhWAAwsQUaeTutwzvZ0MAUNGR MWIKKRIuRjPXiYLm2n0nhNAM8LVCuMig86vT7BL8+8qqx3ShKUlnISLndwzcjTTgsqDG HAc88VACAmcVSBiih6XO/TOAaQXqs0TVsHxmFs9g/6n1O0TLm5RcWAhLoCDBlHXfBWfH ngEU2oHFCWZpk4uDiZBjIjUAh+aqu5b1jLFKkIcMm5zK0o8IVbu1IcDWsq2s6Y2Dasby G2ig== 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=u0Tt+Vq0VzNGI1iTmLjfok/E7flU6W8dFwTV8SHEHCw=; b=mcC8jhH9Eg5yKtTmrzkKgRARcSpfpvHscedNzwpr6XhR4iSlbUMppOkRwVsrMpFi2Q +NOLLpjvkf2IbJPLGT2n/4akwOm8KZAJdKFVc05IHiiCkQNMfnQr60IIUXuxDSYwJ5mO s74Xustyxfx16Cl/XAajXNE2VPFVgpGv/gd3QUGgJqaLzXfi+YuHhF0cDsMpWn/XWmvC 2p+WUOf+2i64xpakXNwlxpVC5LvdRpRYNhWyCjFVQyFl3SBKycR/f5xixCsJJWzAOl5n DpyUTOBB+b4Jk5kK6CJe8LNPCqc7c/Yy+OCaql1PEA3cLvilwHoaPoobvhOAPTSQ9rGo 18rg== X-Gm-Message-State: AOAM532Ze0JqGaBq+PRiPzZvK7FOLEt2GJrAYPweSwAJCDuEG4UZ37mF 09k7573vN/TM3VwJkq99J6rP3T9jSChwHTCz X-Google-Smtp-Source: ABdhPJyLSarW+UgUiZKdbIOw5G1qJPi1bnp5PHCfSKAwWShX469GEPsyvVEjHjuLkDSA2b9uiCovdQ== X-Received: by 2002:a5d:5090:: with SMTP id a16mr7758676wrt.281.1603882520000; Wed, 28 Oct 2020 03:55:20 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id a2sm6137783wrs.55.2020.10.28.03.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:55:19 -0700 (PDT) From: luca.boccassi@gmail.com To: Kiran Kumar K Cc: dpdk stable Date: Wed, 28 Oct 2020 10:45:32 +0000 Message-Id: <20201028104606.3504127-173-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201028104606.3504127-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/octeontx2: fix RSS flow create' has been queued to stable release 19.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/30/20. 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. Thanks. Luca Boccassi --- >From 1a45c8d0c3653cd4bccb2bfcdc58ad17845e5e88 Mon Sep 17 00:00:00 2001 From: Kiran Kumar K Date: Sat, 10 Oct 2020 12:03:10 +0530 Subject: [PATCH] net/octeontx2: fix RSS flow create [ upstream commit 617c97d2e2924e640745442080c375c95568a2e6 ] While creating flow with action type RSS, action type is not being set to RSS, and action type is being set to unicast. Therefore it breaks RSS functionality. This patch add changes to program the RSS action properly. Fixes: 4092e4845dc1 ("net/octeontx2: add flow operations") Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_flow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/octeontx2/otx2_flow.c b/drivers/net/octeontx2/otx2_flow.c index f1fb9f9884..c9886c9705 100644 --- a/drivers/net/octeontx2/otx2_flow.c +++ b/drivers/net/octeontx2/otx2_flow.c @@ -269,6 +269,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev, if (rc) return rc; + flow->npc_action &= (~(0xfULL)); + flow->npc_action |= NIX_RX_ACTIONOP_RSS; flow->npc_action |= ((uint64_t)(alg_idx & NIX_RSS_ACT_ALG_MASK) << NIX_RSS_ACT_ALG_OFFSET) | -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-10-28 10:35:17.091596886 +0000 +++ 0173-net-octeontx2-fix-RSS-flow-create.patch 2020-10-28 10:35:11.780834087 +0000 @@ -1,15 +1,16 @@ -From 617c97d2e2924e640745442080c375c95568a2e6 Mon Sep 17 00:00:00 2001 +From 1a45c8d0c3653cd4bccb2bfcdc58ad17845e5e88 Mon Sep 17 00:00:00 2001 From: Kiran Kumar K Date: Sat, 10 Oct 2020 12:03:10 +0530 Subject: [PATCH] net/octeontx2: fix RSS flow create +[ upstream commit 617c97d2e2924e640745442080c375c95568a2e6 ] + While creating flow with action type RSS, action type is not being set to RSS, and action type is being set to unicast. Therefore it breaks RSS functionality. This patch add changes to program the RSS action properly. Fixes: 4092e4845dc1 ("net/octeontx2: add flow operations") -Cc: stable@dpdk.org Signed-off-by: Kiran Kumar K --- @@ -17,10 +18,10 @@ 1 file changed, 2 insertions(+) diff --git a/drivers/net/octeontx2/otx2_flow.c b/drivers/net/octeontx2/otx2_flow.c -index 9b32b2accf..e07cea7093 100644 +index f1fb9f9884..c9886c9705 100644 --- a/drivers/net/octeontx2/otx2_flow.c +++ b/drivers/net/octeontx2/otx2_flow.c -@@ -272,6 +272,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev, +@@ -269,6 +269,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev, if (rc) return rc;