Thread (51 messages) flat view 51 messages, 5 authors, 2020-10-17

Re: [PATCH net-next v6 4/7] net: dsa: hellcreek: Add support for hardware timestamping

From: Kurt Kanzenbach <kurt@linutronix.de>
Date: 2020-10-06 06:27:46
Also in: netdev

On Sun Oct 04 2020, Vladimir Oltean wrote:
On Sun, Oct 04, 2020 at 01:29:08PM +0200, Kurt Kanzenbach wrote:
quoted
+/* Enabling/disabling TX and RX HW timestamping for different PTP messages is
+ * not available in the switch. Thus, this function only serves as a check if
+ * the user requested what is actually available or not
+ */
Correct me if I'm wrong, but to the user it makes zero difference
whether the hardware takes timestamps or not.
Why not? I think it makes a difference to the user b/o the precision.
What matters is whether the skb will be delivered to the stack with a
hardware timestamp or not, so you should definitely accept a
hwtstamp_config with TX and RX timestamping disabled.
Sorry, I cannot follow you here.

Thanks,
Kurt

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help