ice: add flags indicating pending update of firmware module
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 24 Jul 2020 00:22:02 +0000 (17:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2020 00:07:06 +0000 (17:07 -0700)
commit2ab560a78e3b2f6b19626dcd47790f35b28cc5db
treefd16101e5e0168c51a5f63d8cc25ebd43cc014c4
parent544cd2ac1328451fdbbd60e5cce52aa1b6fe11a8
ice: add flags indicating pending update of firmware module

After a flash update, the pending status of the update can be determined
from the device capabilities.

Read the appropriate device capability and store whether there is
a pending update awaiting a reboot.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_type.h