net/ice/base: use package info from ice segment metadata
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 18 Sep 2020 05:18:30 +0000 (13:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:03 +0000 (23:35 +0100)
commitbd885ab120e2335f978a28ee0aa4303017390e15
tree6c70d2b490f4bc1a275d49bbf218bb998c5d1f9e
parentb29890822981ccb1baa64737a218dc416a079404
net/ice/base: use package info from ice segment metadata

There are two package versions in the package binary. Today, these two
version numbers are the same. However, in the future that may change.

Update code to use the package info from the ice segment metadata
section, which is the package information that is actually downloaded to
the firmware during the download package process.

Signed-off-by: Dan Nowlin <dan.nowlin@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_adminq_cmd.h
drivers/net/ice/base/ice_flex_pipe.c
drivers/net/ice/base/ice_flex_type.h
drivers/net/ice/base/ice_type.h