i40e/i40evf: add GetStatus command for nvmupdate
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 28 Aug 2015 21:55:48 +0000 (17:55 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 18 Sep 2015 00:44:50 +0000 (17:44 -0700)
commit0af8e9db2ce93d17c25a0ff0a044dfebf66ea5af
tree6c6bbed7e5b443005ce49b5637eb6c04aa7c3f74
parent6b5c1b89c37791d89eac5f276cc095acf4f8ab6b
i40e/i40evf: add GetStatus command for nvmupdate

This adds 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.

Change-ID: I671ec6ccd4dfc9dbac3a03b964589d693fda5cd8
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_nvm.c
drivers/net/ethernet/intel/i40e/i40e_type.h
drivers/net/ethernet/intel/i40evf/i40e_type.h