net/ice/base: add NVM pkg flag
Add flag for case where active package has been loaded from NVM. Signed-off-by: Ashish Shah <ashish.n.shah@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: Xiaolong Ye <xiaolong.ye@intel.com>
This commit is contained in:
parent
99c1bd25bd
commit
7e5778f880
@ -1144,6 +1144,7 @@ static enum ice_status ice_get_pkg_info(struct ice_hw *hw)
|
||||
pkg_info->pkg_info[i].name,
|
||||
sizeof(hw->active_pkg_name),
|
||||
ICE_NONDMA_TO_NONDMA);
|
||||
hw->active_pkg_in_nvm = pkg_info->pkg_info[i].is_in_nvm;
|
||||
}
|
||||
if (pkg_info->pkg_info[i].is_active_at_boot)
|
||||
flags[place++] = 'B';
|
||||
|
@ -773,6 +773,7 @@ struct ice_hw {
|
||||
/* Active package version (currently active) */
|
||||
struct ice_pkg_ver active_pkg_ver;
|
||||
u8 active_pkg_name[ICE_PKG_NAME_SIZE];
|
||||
u8 active_pkg_in_nvm;
|
||||
|
||||
/* Driver's package ver - (from the Metadata seg) */
|
||||
struct ice_pkg_ver pkg_ver;
|
||||
|
Loading…
Reference in New Issue
Block a user