i40e/base: grab NVM devstarter version instead of image version
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:24 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 17 May 2015 21:13:45 +0000 (23:13 +0200)
commitd5d5ac2505a48627ae3292e4fcb3c236aa33fc5a
tree8c94db15286ef687c73efa1d92626882db10d783
parenta9a20f37e4f2a5d7ab1734e497026a3071d3b5e2
i40e/base: grab NVM devstarter version instead of image version

The NVM image version has useful data but it is a per image version,
and every image can have a different one. While for the dev starter
version, all the images for release will have the same version. So
it would be better to use dev starter version number.

Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e/i40e_adminq.c
lib/librte_pmd_i40e/i40e/i40e_type.h