]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5805c1a5589ceaa4e560f0a8a3a328f78cae009
tree7a2bdf256904c6451026dc8bc7c614c8a8831781
parentfa90e8cc5528efd880f70286c0c16c132462875c
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