diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-12-27 15:02:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-30 20:31:40 -0800 |
commit | 1e762bd278d2a70bc74b9cbee7f1e93bd4704fe2 (patch) | |
tree | 7a2bdf256904c6451026dc8bc7c614c8a8831781 /drivers/net/dsa/sja1105/sja1105_ptp.h | |
parent | 544fed47af4d2174ac0b550e9c8da15c2dfdb117 (diff) |
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>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_ptp.h')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_ptp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_ptp.h b/drivers/net/dsa/sja1105/sja1105_ptp.h index 470f44b76318..6f4a19eec709 100644 --- a/drivers/net/dsa/sja1105/sja1105_ptp.h +++ b/drivers/net/dsa/sja1105/sja1105_ptp.h @@ -30,6 +30,7 @@ struct sja1105_ptp_cmd { }; struct sja1105_ptp_data { + struct sk_buff_head skb_rxtstamp_queue; struct ptp_clock_info caps; struct ptp_clock *clock; struct sja1105_ptp_cmd cmd; |