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 4E532A00C2 for ; Thu, 3 Nov 2022 10:29:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A1C540694; Thu, 3 Nov 2022 10:29:44 +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 5189541155 for ; Thu, 3 Nov 2022 10:29:42 +0100 (CET) Received: by mail-wr1-f45.google.com with SMTP id h9so1783823wrt.0 for ; Thu, 03 Nov 2022 02:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5JAp3LHZvwuAhtJ5r0WZHlACaWaSm4whpnW2rkUbiCw=; b=HO/TbzC0Mx4pm7Rg67DS1ySikc8fuD//PWlDzRznm99HDevGRSep9RTFdzA2zCJp4h RuGQ6l0y24pITVm6VcNZwggoUnsBy/UiTUwqBhRfXhMTRhl8VXG6dJfTckYj/e1VOUkF ZamNXxumABXdypwEptKYOewZY+JxzxWlchcNsJ4N2xkCrowDsGGCYgBR8FSu+ZV7kCQd 5o4dYe1QWAHvXEpqJ9p0Figz7wyGKLyVVfsVc1vkOAa8WGAxKTSdYoyE3iJVy+XUxgRJ 0QJ6IKHbRJhXYEc7Qg2kEhw52MAhRVl6aLUjPrPvn+wewwKKaQRGW9zb5V+Tm8rJmKJU uHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5JAp3LHZvwuAhtJ5r0WZHlACaWaSm4whpnW2rkUbiCw=; b=0gsvFRGxACC4Wm/HzWjI2hS2K7I9wS37jMnmnuTSaSPno18IKH/RJIpVpMUwfXNPMC fmGo2syz2MRddg95aNkLXnG2LcPdIIsIj3KQvJ30AUJRgx3CHIwRWJZdZOyQ7XrY6ES+ FjpCcrC5SOP6MFxRN/t5Gla4YNeRYJ3S9slpdgf3vlcApMikyqkpuOFsewYgwcM0w9Es n3OMrEebcd+BBD8BtEH94ir9jP0FR06FRzPFi6jxTMCIhX7qe7Jc87Mf81YmlpbZNtQZ wVz5fUGAsMAhkqWRJuBuJP0vABMfXJzyUVN5o07Mo5eb+5DQ72/d+S0DVilyn64U8OiG TkGg== X-Gm-Message-State: ACrzQf04UvZhv3bL/M8EO1xdrT77jq8jJdf6lc8XZFGj+aozAzRqwXDv tQGVfLT+7IUPZdxFRbSsHk6CYC/dEREZYm8i X-Google-Smtp-Source: AMsMyM76fO8Htsl6cbJXHu6+UANYEOM1fxorKqvUg6JUYg1DvVuqHVvCo56ozPT02H6x33+Li3UwHg== X-Received: by 2002:adf:f907:0:b0:236:d796:e531 with SMTP id b7-20020adff907000000b00236d796e531mr11592117wrr.106.1667467782054; Thu, 03 Nov 2022 02:29:42 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id j20-20020a05600c191400b003b47e8a5d22sm6374269wmq.23.2022.11.03.02.29.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:29:41 -0700 (PDT) From: luca.boccassi@gmail.com To: Zhichao Zeng Cc: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix RSS hash update' has been queued to stable release 20.11.7 Date: Thu, 3 Nov 2022 09:26:48 +0000 Message-Id: <20221103092758.1099402-30-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221103092758.1099402-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 20.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 11/05/22. 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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/8d097567ef90b6d240614b9f664f173614528d02 Thanks. Luca Boccassi --- >From 8d097567ef90b6d240614b9f664f173614528d02 Mon Sep 17 00:00:00 2001 From: Zhichao Zeng Date: Thu, 4 Aug 2022 17:32:32 +0800 Subject: [PATCH] net/ice: fix RSS hash update [ upstream commit 04887b812a9f57e79b5005a2ba26b04fed686173 ] This patch fixes the issue that the RSS does not update correctly when the user sets it to none. Fixes: 4717a12cfaf1 ("net/ice: initialize and update RSS based on user config") Signed-off-by: Zhichao Zeng Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 3d46c727cc..8db05c998a 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -4427,10 +4427,8 @@ ice_rss_hash_update(struct rte_eth_dev *dev, if (status) return status; - if (rss_conf->rss_hf == 0) { + if (rss_conf->rss_hf == 0) pf->rss_hf = 0; - return 0; - } /* RSS hash configuration */ ice_rss_hash_set(pf, rss_conf->rss_hf); -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-03 09:27:27.242256859 +0000 +++ 0030-net-ice-fix-RSS-hash-update.patch 2022-11-03 09:27:25.369422364 +0000 @@ -1 +1 @@ -From 04887b812a9f57e79b5005a2ba26b04fed686173 Mon Sep 17 00:00:00 2001 +From 8d097567ef90b6d240614b9f664f173614528d02 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 04887b812a9f57e79b5005a2ba26b04fed686173 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index e8304a1f2b..62bcc1d095 100644 +index 3d46c727cc..8db05c998a 100644 @@ -22 +23 @@ -@@ -4671,10 +4671,8 @@ ice_rss_hash_update(struct rte_eth_dev *dev, +@@ -4427,10 +4427,8 @@ ice_rss_hash_update(struct rte_eth_dev *dev,