Re: [PATCH v3 3/5] net: Let the active time stamping layer be selectable.

From
Köry Maincent <kory.maincent@bootlin.com>
Date
2023-03-10 14:41:48
Also in
linux-devicetree, linux-doc, linux-omap, lkml
Reply to
Willem de Bruijn, 2023-03-08
On Wed, 08 Mar 2023 10:28:51 -0500
Willem de Bruijn [off-list ref] wrote:
quoted
 
+	enum timestamping_layer selected_timestamping_layer;
+  
can perhaps be a single bit rather than an enum
I need at least two bits to be able to list the PTPs available.
Look at the ethtool_list_ptp function of the second patch.
quoted
+			err = -ENODEV;
+			WARN_ON(1);  
Please no WARN_ON on error cases that are known to be reachable
and can be handled safely and reported to userspace.
Alright, thanks.

Köry
Thread (13 messages) 13 messages, 4 authors, last reply 2023-03-10
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