Re: [Intel-wired-lan] [PATCH iwl-next v2 3/6] ice: add Tx hang devlink health reporter

From
Jakub Kicinski <kuba@kernel.org>
Date
2024-07-14 14:23:34
Also in
intel-wired-lan, lkml
Reply to
Mateusz Polchlopek, 2024-07-12
On Fri, 12 Jul 2024 05:32:48 -0400 Mateusz Polchlopek wrote:
quoted hunk ↗ jump to hunk
+	err = devlink_health_report(reporter, msg, priv_ctx);
+	if (err) {
+		struct ice_pf *pf = devlink_health_reporter_priv(reporter);
+
+		dev_err(ice_pf_to_dev(pf),
+			"failed to report %s via devlink health, err %d\n",
+			msg, err);
My knee-jerk reaction is - why not put it in devlink_health_report()?
Also, I'd rate limit the message.
Thread (13 messages) 13 messages, 2 authors, 2024-07-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help