Thread (25 messages) 25 messages, 5 authors, 2022-03-26

Re: [PATCH net-next v1 3/6] ptp: Pass hwtstamp to ptp_convert_timestamp()

From: Richard Cochran <richardcochran@gmail.com>
Date: 2022-03-24 13:50:56

On Tue, Mar 22, 2022 at 10:07:19PM +0100, Gerhard Engleder wrote:
ptp_convert_timestamp() converts only the timestamp hwtstamp, which is
a field of the argument with the type struct skb_shared_hwtstamps *. So
a pointer to the hwtstamp field of this structure is sufficient.

Rework ptp_convert_timestamp() to use an argument of type ktime_t *.
This allows to add additional timestamp manipulation stages before the
call of ptp_convert_timestamp().

Signed-off-by: Gerhard Engleder <redacted>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help