i40e/base: add wait states to NVM state machine
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:24 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:21 +0000 (01:35 +0200)
commit2d01a42227f5c5cc284b0be677aea0355ae89b57
treec194e2353c7cf7bbbd14df546e2c06e9a2cdcb4a
parent7df22f55cc10ffa8771a9484e01621bcfed19e81
i40e/base: add wait states to NVM state machine

This adds wait states to the NVM update state machine to signify when
waiting for an update operation to finish, whether we're in the middle
of a set of Write operations, or we're now idle but waiting.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_adminq.c
drivers/net/i40e/base/i40e_nvm.c
drivers/net/i40e/base/i40e_type.h