i40e/base: enhance adminq init and ASQ send
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:25 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 17 May 2015 21:17:26 +0000 (23:17 +0200)
commitc3a39d517a03b6289a94c0f02cd8dd0bf28d47e2
tree8543938a1680ae2a22b668ddde7990f928944d22
parentd5057555e07101ba8f1b917c117e110a81c54e56
i40e/base: enhance adminq init and ASQ send

The timeout of ASQ command is enlarged from 100 ms to 250 ms to
wait longer time for the response. nvm_busy is not needed anymore.
Also nvm_release_on_done and nvmupd_state will be set during
adminq init.

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_adminq.h