i40e/base: update shadow RAM read/write
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:15 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 15 May 2015 14:33:15 +0000 (16:33 +0200)
commita8ac0bae54aee6e982a8755943c12bd8cb8f2ba1
tree3cc80f6de13afb21aa792952b5d511e19255794e
parentf0684c51ec82bd24ab83889d94ad45da9965ad83
i40e/base: update shadow RAM read/write

To support different hardware, shadow RAM read should be done via
SRCTL register or AQ command, and shadow RAM write should be done
via AQ command only.

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_nvm.c