i40e/base: add commands for NVM update
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:25 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:21 +0000 (01:35 +0200)
commitf766d82b1e1fe4d68f7ac046fa011cc2782ffe04
treed6cbfae3eaba4879ce96259823de63bc6d8c6d6d
parent2d01a42227f5c5cc284b0be677aea0355ae89b57
i40e/base: add commands for NVM update

Add a new GetStatus command so that the NVM update tool can query
the current status instead of doing fake write requests to probe for
readiness.
Add a facility to run AQ commands through the nvmupdate utility in order
to allow the update tools to interact with the FW and do special
commands needed for updates and configuration changes.
Add a facility to recover the result of a previously run AQ command.

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