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 1321342CBC for ; Thu, 15 Jun 2023 03:35:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0EB3A42D6D; Thu, 15 Jun 2023 03:35:50 +0200 (CEST) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by mails.dpdk.org (Postfix) with ESMTP id E713340DDA for ; Thu, 15 Jun 2023 03:35:48 +0200 (CEST) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-4f122ff663eso9680227e87.2 for ; Wed, 14 Jun 2023 18:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686792948; x=1689384948; 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=MlQomt5C2O3YKFK5JAUR50o0JSDBvq6Tf11SNASajuU=; b=g84lPNfv1je5IYWmpaZ6uZPZiemqZgAn82HD6BU6uwrlh4fAiAxvjlEOa+o+CHEKY+ IDwxaprYBRs4Sb8jhVw0w30Tx450r9OYk7E5BuHhs1Aq72HDvW9310wQFfERL0LA94Ns YL0MS5IX1ebfgsMrSqq72LYXqrsR5beXFmkMa9VagsBE95BW83VaIma5keWllAT9NK8D 1ytaELXBFTxjlil9YU368h6U5WXzgIkNov6lZIGCf/CNBSlz0sdZ97hB/P3Ii01WJFoP K69BW8YQZw+BQr8eGsF77tS372kUuKRv2HZ6bF+YIxDCPoX5SpSEyXlb0+9OGMijL3qa nQAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686792948; x=1689384948; 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=MlQomt5C2O3YKFK5JAUR50o0JSDBvq6Tf11SNASajuU=; b=f0WYbn2++wsWtromvewgcRKVrWhG1swaNM5N6pBCqicfS07J/u3xZjY4Q2vzfzPf4R DCMfNM1F/JjKWwDVacX6WQ26IBifkozmu1s/ECygrqEqVqdGV6QvQ7kKd72gTxSBZsAa 7BJwELMxCurTkdAZhtP10YMGRSsqi1cMSQbtVKIawebrNvjK6hj2Kb/ppvt+SDC5uIJ6 iihg8DEKMkzgjv+1I0C3z7JjAdxvjzM57eqnjDwWJdAcJM1GHUDqhCUqXue5Qogn7uRN r0+agvmuLKVYUpBqP9ARyzdRW2sXBO+2xpLxWuRzvB2qp6tHR6vWZB4SNJHdMkkWvLLL wiLw== X-Gm-Message-State: AC+VfDyUy0efUPH7FruncoAl1OWUEdYRDdUvR3lF753W7eCuPBds9kXL Ob1mkqA8Fda+dMnsJZabeHbaewPrsx3y3lE5 X-Google-Smtp-Source: ACHHUZ4fqsu+KKZoXYn4YjoX5GoXlQBIX5mAdLyG7EHJmoQTKfLgpsPUaKpchlDN5EN8sRIO3SOMrA== X-Received: by 2002:a19:4412:0:b0:4f3:872d:10ff with SMTP id r18-20020a194412000000b004f3872d10ffmr8208830lfa.64.1686792948254; Wed, 14 Jun 2023 18:35:48 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id i7-20020adffc07000000b0030631a599a0sm19790978wrr.24.2023.06.14.18.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 18:35:47 -0700 (PDT) From: luca.boccassi@gmail.com To: Kaiwen Deng Cc: Tyler Retzlaff , Qi Zhang , dpdk stable Subject: patch 'net/ice: fix DCF RSS initialization' has been queued to stable release 20.11.9 Date: Thu, 15 Jun 2023 02:32:50 +0100 Message-Id: <20230615013258.1439718-55-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230615013258.1439718-1-luca.boccassi@gmail.com> References: <20230615013258.1439718-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.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/17/23. 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/6affab003120be5b3366396ce22d4af3717c2d75 Thanks. Luca Boccassi --- >From 6affab003120be5b3366396ce22d4af3717c2d75 Mon Sep 17 00:00:00 2001 From: Kaiwen Deng Date: Tue, 9 May 2023 09:22:09 +0800 Subject: [PATCH] net/ice: fix DCF RSS initialization [ upstream commit f0be05f4c49129c8b7a34fa6505586b8a646ead1 ] The i variable type is uint8_t which causes a dead loop, changing it to size_t will solve this issue. Fixes: 3220d865382c ("net/ice: init RSS during DCF start") Signed-off-by: Kaiwen Deng Acked-by: Tyler Retzlaff Acked-by: Qi Zhang --- drivers/net/ice/ice_dcf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c index 7aeb9c82ca..269d61f414 100644 --- a/drivers/net/ice/ice_dcf.c +++ b/drivers/net/ice/ice_dcf.c @@ -789,7 +789,8 @@ ice_dcf_init_rss(struct ice_dcf_hw *hw) { struct rte_eth_dev *dev = hw->eth_dev; struct rte_eth_rss_conf *rss_conf; - uint8_t i, j, nb_q; + uint8_t j, nb_q; + size_t i; int ret; rss_conf = &dev->data->dev_conf.rx_adv_conf.rss_conf; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-06-15 01:56:37.484134883 +0100 +++ 0055-net-ice-fix-DCF-RSS-initialization.patch 2023-06-15 01:56:34.707544363 +0100 @@ -1 +1 @@ -From f0be05f4c49129c8b7a34fa6505586b8a646ead1 Mon Sep 17 00:00:00 2001 +From 6affab003120be5b3366396ce22d4af3717c2d75 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f0be05f4c49129c8b7a34fa6505586b8a646ead1 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 80d2cbd597..b11d66f45f 100644 +index 7aeb9c82ca..269d61f414 100644 @@ -23 +24 @@ -@@ -853,7 +853,8 @@ ice_dcf_init_rss(struct ice_dcf_hw *hw) +@@ -789,7 +789,8 @@ ice_dcf_init_rss(struct ice_dcf_hw *hw)