git: 224f7ab8b470 - main - ixgbe: add reset count field to HW struct
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Sep 2024 02:55:49 UTC
The branch main has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=224f7ab8b4706653c7d3f78e624bc36c97679f30
commit 224f7ab8b4706653c7d3f78e624bc36c97679f30
Author: Radoslaw Tyl <radoslawx.tyl@intel.com>
AuthorDate: 2024-09-20 02:54:21 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-20 02:55:35 +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)
MFC after: 1 week
---
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) \