Re: [PATCH net-next 6/8] net: phy: mscc: timestamping and PHC support

2020-05-28 Thread Antoine Tenart
Hello Richard, Quoting Richard Cochran (2020-05-28 16:34:40) > On Wed, May 27, 2020 at 06:41:56PM +0200, Antoine Tenart wrote: > > > +static struct vsc85xx_ptphdr *get_ptp_header(struct sk_buff *skb) > > +{ > > + struct ethhdr *ethhdr = eth_hdr(skb); > > + struct iphdr *iphdr = ip_hdr(skb

Re: [PATCH net-next 6/8] net: phy: mscc: timestamping and PHC support

2020-05-28 Thread Richard Cochran
On Wed, May 27, 2020 at 06:41:56PM +0200, Antoine Tenart wrote: > +static struct vsc85xx_ptphdr *get_ptp_header(struct sk_buff *skb) > +{ > + struct ethhdr *ethhdr = eth_hdr(skb); > + struct iphdr *iphdr = ip_hdr(skb); > + struct udphdr *udphdr; > + __u8 proto; > + > + if (ethh