net/ice/base: fix initializing resource for field vector
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 15 Jun 2020 02:05:11 +0000 (10:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:08 +0000 (19:21 +0200)
commit383cb0d49c10c102d7ff54560fa298be5306c807
tree72de13b32d553e5c565613d46da32c7fee542fc1
parent0f8a51b6e334c6ba75b60274f43cdcb13c82e9fb
net/ice/base: fix initializing resource for field vector

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 <wei.zhao1@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c