[dpdk-stable] patch 'net/ice/base: fix initializing resource for field vector' has been queued to stable release 19.11.4

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Jul 24 13:57:56 CEST 2020


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 <qi.z.zhang at intel.com>
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 <wei.zhao1 at intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr at intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
Acked-by: Qiming Yang <qiming.yang at intel.com>
---
 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 <qi.z.zhang at intel.com>
 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 at dpdk.org
 
 Signed-off-by: Wei Zhao <wei.zhao1 at intel.com>
 Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr at intel.com>
@@ -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
 


More information about the stable mailing list