Re: [PATCH v3 1/1] can: dev: add software tx timestamps

From
Richard Cochran <richardcochran@gmail.com>
Date
2021-01-11 17:12:54
Also in
linux-can, lkml
Reply to
Vincent Mailhol, 2021-01-10
On Sun, Jan 10, 2021 at 09:49:03PM +0900, Vincent Mailhol wrote:
  * The hardware rx timestamp of a local loopback message is the
    hardware tx timestamp. This means that there are no needs to
    implement SOF_TIMESTAMPING_TX_HARDWARE for CAN sockets.
I can't agree with that statement.  The local loopback is a special
"feature" of CAN sockets, and some programs turn it off.  Furthermore,
requiring user space to handle CAN sockets differently WRT Tx time
stamps is user-unfriendly.  So I would strongly support adding
SOF_TIMESTAMPING_TX_HARDWARE to the CAN layer in the future.

(This isn't a criticism of the current patch, though.)

Thanks,
Richard

Thread (9 messages) 9 messages, 3 authors, last reply 2021-01-12
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