[dpdk-dev] [dpdk-stable] [PATCH v2 49/52] net/ice/base: fix uninitialized flag
Ferruh Yigit
ferruh.yigit at intel.com
Thu Jun 11 20:45:57 CEST 2020
On 6/9/2020 12:59 PM, Qi Zhang wrote:
> This patch add initialization for prof_res_bm_init flag
> to zero in order that the possible resource for field vector
> in the files can be initialized.
I guess this is fixing initialization of _something_ (resource for field vector
in package file?), and this is done by zeroing an uninitialized flag. Can you
please update the patch title to document what is fixed (why change is done)?
>
> 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>
> Signed-off-by: Qi Zhang <qi.z.zhang 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 54112e8f2..baaeee321 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)
> 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) {
>
More information about the dev
mailing list