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

2020-07-29 Thread Kurt Kanzenbach
On Tue Jul 28 2020, David Miller wrote: > It looks like some mlxsw et al. issues wrt. which header is expected at > skb->data when certain helper functions are invoked need to be resolved > still. Yes, the length check needs to be sorted out first. So, please don't merge this version. Thanks, Kur

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

2020-07-28 Thread David Miller
From: Kurt Kanzenbach Date: Mon, 27 Jul 2020 11:05:52 +0200 > in order to reduce code duplication in the ptp code of DSA, Ethernet and Phy > drivers, move the header parsing function to ptp_classify. This way all > drivers > can share the same implementation. Implemented as discussed [1] [2] [3]

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

2020-07-27 Thread Kurt Kanzenbach
Hi, in order to reduce code duplication in the ptp code of DSA, Ethernet and Phy drivers, move the header parsing function to ptp_classify. This way all drivers can share the same implementation. Implemented as discussed [1] [2] [3]. This is version two and contains more driver conversions. Rich