OSDN Git Service

net: dsa: sja1105: Use PTP core's dedicated kernel thread for RX timestamping
authorVladimir Oltean <olteanv@gmail.com>
Fri, 27 Dec 2019 13:02:29 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2019 04:31:40 +0000 (20:31 -0800)
commit1e762bd278d2a70bc74b9cbee7f1e93bd4704fe2
tree7a2bdf256904c6451026dc8bc7c614c8a8831781
parent544fed47af4d2174ac0b550e9c8da15c2dfdb117
net: dsa: sja1105: Use PTP core's dedicated kernel thread for RX timestamping

And move the queue of skb's waiting for RX timestamps into the ptp_data
structure, since it isn't needed if PTP is not compiled.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_ptp.c
drivers/net/dsa/sja1105/sja1105_ptp.h
include/linux/dsa/sja1105.h