Thread (7 messages) flat view 7 messages, 2 authors, 2021-11-27

Re: [EXT] Re: [PATCH net-next 1/2] qed*: enhance tx timeout debug info

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-11-27 00:43:09

On Fri, 26 Nov 2021 22:04:03 +0000 Manish Chopra wrote:
quoted
Please consider using devlink health if you want to communicate more data to
the user  
It's not really that huge logs/data, these are just very basic metadata (few prints) about the TX queues logged to system logs.
Those can be looked easily from dmesg/var-log-messages files which can be made available conveniently.
Rest are the mailbox commands posted to management firmware with those basic information about the queues.
Right, I meant "more" as in if it keeps growing in the future, not
necessarily to replace this patch.
quoted
quoted
+/**
+ * qed_int_get_sb_dbg: Read debug information regarding a given SB
+ *
+ * @p_hwfn: hw function pointer
+ * @p_ptt: ptt resource
+ * @p_sb: pointer to status block for which we want to get info
+ * @p_info: pointer to struct to fill with information regarding SB
+ *
+ * Return: Int  
What's the point of documenting the return type?  
For ./scripts/kernel-doc, I will put some suitable description. 
I don't think it requires documenting return value. All arguments -
yes, but not documenting return value is fine. So you can as well
remove it, up to you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help