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

From
Mateusz Polchlopek <hidden>
Date
2024-07-30 09:33:51
Also in
intel-wired-lan, lkml
Reply to
Mateusz Polchlopek, 2024-07-22

On 7/22/2024 11:23 AM, Mateusz Polchlopek wrote:

On 7/14/2024 4:23 PM, Jakub Kicinski wrote:
quoted
On Fri, 12 Jul 2024 05:32:48 -0400 Mateusz Polchlopek wrote:
quoted
+    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.
Hmmm... That's good point. I will talk to the author about that but
seems to be good point Jakub.
I took a look into the code and it seems that we do not do auto
recovering, so also ignoring return value which always will be 0.

I will remove this error checking in v3 version.
Thread (13 messages) 13 messages, 2 authors, last reply 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