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 75DB7A0518 for ; Fri, 24 Jul 2020 14:03:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C0231C02A; Fri, 24 Jul 2020 14:03:03 +0200 (CEST) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 3AD421BFE3 for ; Fri, 24 Jul 2020 14:03:02 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id p14so7375024wmg.1 for ; Fri, 24 Jul 2020 05:03:02 -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=yNg+6S1+X1dAtkjdT5ckJs8aKxHPUMUH5t7r9RyZIkk=; b=NWTsvb/Xi+GUGXxvdVxrZSE5+k67+ESdX/pHmSIN1UsGu7p2gcTz2koK90bboWSgHX P9EWH/t5Ss0h1NmDuJmiH2C49xqU0Zz8B8mZrHmgUWvgogSxAQgH+ETz7F3oDNrBQgUg 41OEv0GA5KjHBoa7vPfMSkpKoZokEwPcM4f1PQgoG4YWIV/BHYyJsbBzA0mdVJ6UReQS 9opCqKUhiXvsWVz6wpn4Rsn4Tsl7/OaZ/Z21pMeTfiwhZ2B1bgZxmE+OqRDAj2rODHUp Gr/kjOogvdnqmsaDp4ayWPSzjZtG+3LaLP0Sbryoyv8zCwMIHHaYxv4E4wGomW8CKhVu G7yQ== 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=yNg+6S1+X1dAtkjdT5ckJs8aKxHPUMUH5t7r9RyZIkk=; b=sP2VRvWkD0w1TjCMM7wUw8Mzw/YPhp7qVoHSPUbi+G6mnqNY4mOI4hgfeqwfOIv+28 HUt6z4866eMzb876iVyypUVEObGHbK68fUmZZCE1ogPW8tb8t3wE3i5WEhLYMTa0EMoI a8K/Fj0zFjp57JNvfjccSdoap8g+++2XmY0buzcz/LDK2gpKJm2XexWaVeuX76WoIhhv o4U3jOgNjSFedL3gBb2mWomPd5VlxD4VPwBxbwXyqqkijP5b4EdkltYOucIITc1/7lLs J5L1xsyEGlNRNFAQ01R9ECdQE4ULHeuapSkwGLfuWKq4j3OmudrkLBaPILRPQd6Aoume nqeA== X-Gm-Message-State: AOAM531myRmboTLzsU8DBtPfSzO0naR374hSt4IJcn6dlk2XddGwMcHW KFgjTIpkny7YYeyAQInDFrTiCjPxjo2Tqw== X-Google-Smtp-Source: ABdhPJxBR4hzQ16fx58BSSV7hHY7QnTalrV/AiQ1bAfgyP47w9Z6ky1OnzZcGFRCJ0nE3NEN0W0HMQ== X-Received: by 2002:a1c:345:: with SMTP id 66mr8224756wmd.31.1595592181879; Fri, 24 Jul 2020 05:03:01 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id t11sm1037363wrs.66.2020.07.24.05.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:03:00 -0700 (PDT) From: luca.boccassi@gmail.com To: Qi Zhang Cc: Wei Zhao , Paul M Stillwell Jr , Qiming Yang , dpdk stable Date: Fri, 24 Jul 2020 12:57:56 +0100 Message-Id: <20200724120030.1863487-38-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ice/base: fix initializing resource for field vector' has been queued to stable release 19.11.4 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.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/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 fa18d27bc8e0657504b0ec666a7201cd63175a8e Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Mon, 15 Jun 2020 10:05:11 +0800 Subject: [PATCH] net/ice/base: fix initializing resource for field vector [ upstream commit 383cb0d49c10c102d7ff54560fa298be5306c807 ] This patch add initialization for prof_res_bm_init flag to zero in order that the possible resource for field vector in the package file can be initialized.(in ice_init_prof_result_bm) Fixes: 453d087ccaff ("net/ice/base: add common functions") Signed-off-by: Wei Zhao Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index 77f68561e..25e30b937 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c @@ -461,6 +461,7 @@ static enum ice_status ice_init_fltr_mgmt_struct(struct ice_hw *hw) return ICE_ERR_NO_MEMORY; INIT_LIST_HEAD(&sw->vsi_list_map_head); + sw->prof_res_bm_init = 0; return ice_init_def_sw_recp(hw); } -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-24 12:53:50.084763198 +0100 +++ 0038-net-ice-base-fix-initializing-resource-for-field-vec.patch 2020-07-24 12:53:48.251005789 +0100 @@ -1,14 +1,15 @@ -From 383cb0d49c10c102d7ff54560fa298be5306c807 Mon Sep 17 00:00:00 2001 +From fa18d27bc8e0657504b0ec666a7201cd63175a8e Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Mon, 15 Jun 2020 10:05:11 +0800 Subject: [PATCH] net/ice/base: fix initializing resource for field vector +[ upstream commit 383cb0d49c10c102d7ff54560fa298be5306c807 ] + This patch add initialization for prof_res_bm_init flag to zero in order that the possible resource for field vector in the package file can be initialized.(in ice_init_prof_result_bm) Fixes: 453d087ccaff ("net/ice/base: add common functions") -Cc: stable@dpdk.org Signed-off-by: Wei Zhao Signed-off-by: Paul M Stillwell Jr @@ -19,17 +20,17 @@ 1 file changed, 1 insertion(+) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c -index 54112e8f2..baaeee321 100644 +index 77f68561e..25e30b937 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c -@@ -536,6 +536,7 @@ enum ice_status ice_init_fltr_mgmt_struct(struct ice_hw *hw) +@@ -461,6 +461,7 @@ static enum ice_status ice_init_fltr_mgmt_struct(struct ice_hw *hw) return ICE_ERR_NO_MEMORY; INIT_LIST_HEAD(&sw->vsi_list_map_head); + sw->prof_res_bm_init = 0; - status = ice_init_def_sw_recp(hw, &hw->switch_info->recp_list); - if (status) { + return ice_init_def_sw_recp(hw); + } -- 2.20.1