Thread (17 messages) 17 messages, 3 authors, 2023-07-01

Re: [RFC PATCH net-next v6 1/5] net: Add NDOs for hardware timestamp get/set

From: Max Georgiev <hidden>
Date: 2023-05-15 15:36:58

On Fri, May 12, 2023 at 11:41 AM Jakub Kicinski [off-list ref] wrote:
On Thu, 11 May 2023 21:22:23 -0600 Max Georgiev wrote:
quoted
quoted
quoted
+     int                     (*ndo_hwtstamp_get)(struct net_device *dev,
+                                                 struct kernel_hwtstamp_config *kernel_config,
+                                                 struct netlink_ext_ack *extack);
I'm not sure it is necessary to pass an extack to "get". That should
only give a more detailed reason if the driver refuses something.
I have to admit I just followed Jakub's guidance adding "extack" to the
list of parametres. I'll let Jakub to comment on that.
We can drop it from get, I can't think of any strong use case.
Got it. Will remove the  "extack" parameter from ndo_hwtstamp_get() in the
next revision.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help