From: Radoslaw Tyl <radoslawx....@intel.com> Add fw_rst_cnt to store the number of resets after fw update. This value is required to detect if the EICR.MNG event occurred after firmware update reset.
Signed-off-by: Radoslaw Tyl <radoslawx....@intel.com> Reviewed-by: Skajewski, PiotrX <piotrx.skajew...@intel.com> Reviewed-by: Mrozowicz, SlawomirX <slawomirx.mrozow...@intel.com> Reviewed-by: Michael, Alice <alice.mich...@intel.com> --- drivers/net/ixgbe/base/ixgbe_type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h index 10164e274c..51b9ef274b 100644 --- a/drivers/net/ixgbe/base/ixgbe_type.h +++ b/drivers/net/ixgbe/base/ixgbe_type.h @@ -4164,6 +4164,7 @@ struct ixgbe_hw { bool allow_unsupported_sfp; bool wol_enabled; bool need_crosstalk_fix; + u32 fw_rst_cnt; }; #define ixgbe_call_func(hw, func, params, error) \ -- 2.43.0