Message ID | 20200727090601.6500-1-kurt@linutronix.de |
---|---|
Headers | show |
Series | ptp: Add generic header parsing function | expand |
From: Kurt Kanzenbach <kurt@linutronix.de> 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]. > > This is version two and contains more driver conversions. > > Richard, can you test with your hardware? I'll do the same e.g. on the bbb. > > Version 1 can be found here: > > * https://lkml.kernel.org/netdev/20200723074946.14253-1-kurt@linutronix.de/ 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.
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, Kurt