Re: [PATCH v4 1/9] ptp: Add generic ptp v2 header parsing function

2020-08-18 Thread Russell King - ARM Linux admin
On Tue, Aug 18, 2020 at 12:32:43PM +0200, Kurt Kanzenbach wrote: > Reason: A lot of the ptp drivers - which implement hardware time stamping - > need > specific fields such as the sequence id from the ptp v2 header. Currently all > drivers implement that themselves. > > Introduce a generic functi

[PATCH v4 1/9] ptp: Add generic ptp v2 header parsing function

2020-08-18 Thread Kurt Kanzenbach
Reason: A lot of the ptp drivers - which implement hardware time stamping - need specific fields such as the sequence id from the ptp v2 header. Currently all drivers implement that themselves. Introduce a generic function to retrieve a pointer to the start of the ptp v2 header. Suggested-by: Rus