]> 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)
commit33af9b6fc620e13466485744e7f1e21b7d1599f4
tree7a2bdf256904c6451026dc8bc7c614c8a8831781
parent7a611d679184fa33381f87c712ff6c389d0b3ef0
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