[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220324135048.GC27824@hoboy.vegasvil.org>
Date: Thu, 24 Mar 2022 06:50:48 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Gerhard Engleder <gerhard@...leder-embedded.com>
Cc: yangbo.lu@....com, davem@...emloft.net, kuba@...nel.org,
mlichvar@...hat.com, vinicius.gomes@...el.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v1 3/6] ptp: Pass hwtstamp to
ptp_convert_timestamp()
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 <gerhard@...leder-embedded.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists