i40e/base: support nvmupdate by default
authorHelin Zhang <helin.zhang@intel.com>
Tue, 9 Sep 2014 07:21:26 +0000 (15:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Oct 2014 15:38:24 +0000 (17:38 +0200)
commit9435d9b1ec9c1b9235e3ad259d94cf216bece096
treeb5353e7588c9e8db72e08e8bc72140a5776e9e34
parent3170192e69b0fbd9dc2d598f04cadfc2a3ecd64e
i40e/base: support nvmupdate by default

'nvmupdate' is intended to support the userland NVMUpdate tool for
Fortville eeprom. These code changes is to remove the conditional
compile macro, and support those by default. In addition, renaming
all 'errno' to avoid any compile warning or error.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Reviewed-by: Chen Jing <jing.d.chen@intel.com>
Tested-by: HuilongX Xu <huilongx.xu@intel.com>
lib/librte_pmd_i40e/i40e/i40e_adminq.h
lib/librte_pmd_i40e/i40e/i40e_nvm.c