git: 0243ac046ff7 - stable/13 - ixgbe: add reset count field to HW struct

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Fri, 27 Sep 2024 03:41:36 UTC
The branch stable/13 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=0243ac046ff77b79566197a7c8587872adc3a2b9

commit 0243ac046ff77b79566197a7c8587872adc3a2b9
Author:     Radoslaw Tyl <radoslawx.tyl@intel.com>
AuthorDate: 2024-09-20 02:54:21 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-27 03:39:13 +0000

    ixgbe: add reset count field to HW struct
    
    DPDK commit message
    
    net/ixgbe/base: add reset count field to HW struct
    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.tyl@intel.com>
    Reviewed-by: Piotr Skajewski <piotrx.skajewski@intel.com>
    Reviewed-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
    Reviewed-by: Alice Michael <alice.michael@intel.com>
    
    Obtained from:  DPDK (9ab0e9c)
    
    (cherry picked from commit 224f7ab8b4706653c7d3f78e624bc36c97679f30)
---
 sys/dev/ixgbe/ixgbe_type.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/ixgbe/ixgbe_type.h b/sys/dev/ixgbe/ixgbe_type.h
index ccfce45500d9..56d4863c8e07 100644
--- a/sys/dev/ixgbe/ixgbe_type.h
+++ b/sys/dev/ixgbe/ixgbe_type.h
@@ -4201,6 +4201,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) \