Thread (16 messages) 16 messages, 3 authors, 2022-03-07

Re: [PATCH net-next 8/9] bnxt_en: implement hw health reporter

From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-03-07 22:22:04

On Sat,  5 Mar 2022 03:54:41 -0500 Michael Chan wrote:
+static int bnxt_hw_recover(struct devlink_health_reporter *reporter,
+			   void *priv_ctx,
+			   struct netlink_ext_ack *extack)
+{
+	struct bnxt *bp = devlink_health_reporter_priv(reporter);
+	struct bnxt_hw_health *hw_health = &bp->hw_health;
+
+	hw_health->synd = BNXT_HW_STATUS_HEALTHY;
+	return 0;
+}
This seems like a very weird recovery function.

I guess the FW automatically does auto-recovery and the driver 
has no control over it?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help