Re: [PATCH v3 2/9] ptp: Add generic ptp message type function
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-08-02 20:20:35
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-08-02 20:20:35
On 7/30/2020 1:00 AM, Kurt Kanzenbach wrote:
The message type is located at different offsets within the ptp header depending on the ptp version (v1 or v2). Therefore, drivers which also deal with ptp v1 have some code for it. Extract this into a helper function for drivers to be used. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian