Re: [PATCH v3 1/9] ptp: Add generic ptp v2 header parsing function
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-08-02 20:20:10
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-08-02 20:20:10
On 7/30/2020 1:00 AM, 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: Florian Fainelli <f.fainelli@gmail.com> -- Florian