Re: [PATCH v3 2/9] ptp: Add generic ptp message type function

2020-08-02 Thread Florian Fainelli
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 u

Re: [PATCH v3 2/9] ptp: Add generic ptp message type function

2020-08-02 Thread Richard Cochran
On Thu, Jul 30, 2020 at 10:00:41AM +0200, 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 fo