Re: [PATCH v3 1/9] ptp: Add generic ptp v2 header parsing function
From: Richard Cochran <richardcochran@gmail.com>
Date: 2020-08-02 15:13:26
From: Richard Cochran <richardcochran@gmail.com>
Date: 2020-08-02 15:13:26
On Thu, Jul 30, 2020 at 10:00:40AM +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 function to retrieve a pointer to the start of the ptp v2 header. Suggested-by: Russell King <redacted> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Richard Cochran <richardcochran@gmail.com>