Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable.

From
Richard Cochran <richardcochran@gmail.com>
Date
2022-01-21 15:31:16
Also in
lkml
Reply to
Kurt Kanzenbach, 2022-01-21
On Fri, Jan 21, 2022 at 12:05:22PM +0100, Kurt Kanzenbach wrote:
On Thu Jan 20 2022, Vladimir Oltean wrote:
quoted
Hi Richard,

On Mon, Jan 03, 2022 at 03:25:54PM -0800, Richard Cochran wrote:
quoted
Make the sysfs knob writable, and add checks in the ioctl and time
stamping paths to respect the currently selected time stamping layer.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
Could we think of a more flexible solution? Your proposal would not
allow a packet to have multiple hwtstamps, and maybe that would be
interesting for some use cases (hardware testing, mostly).
One use case i can think of for having multiple hwtimestamps per packet
is crosstimestamping. Some devices such as hellcreek have multiple PHCs
and allow generation of such crosstimestamps.
That may well be nice to have, but that is not in scope for this series.

Thanks,
Richard
Thread (28 messages) 28 messages, 8 authors, last reply 2022-04-06
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