aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_type.h
diff options
context:
space:
mode:
authorMichal Kosiarz <michal.kosiarz@intel.com>2016-04-12 08:30:46 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-27 13:01:48 -0700
commit68a1c5a777f8e94d3bb0b0e287443492316ea5b5 (patch)
treeb73b521b9efb6bd844c9e5cb028ae8ca83dad26c /drivers/net/ethernet/intel/i40e/i40e_type.h
parenti40evf: Allow PF driver to configure RSS (diff)
downloadlinux-dev-68a1c5a777f8e94d3bb0b0e287443492316ea5b5.tar.xz
linux-dev-68a1c5a777f8e94d3bb0b0e287443492316ea5b5.zip
i40e: Add device capability which defines if update is available
Add device capability which defines if update is available and security check is needed during update process. Change-ID: I380787c878275e1df18b39198df3ee3666342282 Signed-off-by: Michal Kosiarz <michal.kosiarz@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_type.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_type.h b/drivers/net/ethernet/intel/i40e/i40e_type.h
index bb57cd909c47..8aa14aacdd35 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_type.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_type.h
@@ -275,6 +275,11 @@ struct i40e_hw_capabilities {
#define I40E_FLEX10_STATUS_DCC_ERROR 0x1
#define I40E_FLEX10_STATUS_VC_MODE 0x2
+ bool sec_rev_disabled;
+ bool update_disabled;
+#define I40E_NVM_MGMT_SEC_REV_DISABLED 0x1
+#define I40E_NVM_MGMT_UPDATE_DISABLED 0x2
+
bool mgmt_cem;
bool ieee_1588;
bool iwarp;