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 /include/linux/dsa | |
parent | 544fed47af4d2174ac0b550e9c8da15c2dfdb117 (diff) | |
download | lwn-1e762bd278d2a70bc74b9cbee7f1e93bd4704fe2.tar.gz lwn-1e762bd278d2a70bc74b9cbee7f1e93bd4704fe2.zip |
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 'include/linux/dsa')
-rw-r--r-- | include/linux/dsa/sja1105.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/dsa/sja1105.h b/include/linux/dsa/sja1105.h index 897e799dbcb9..c0b6a603ea8c 100644 --- a/include/linux/dsa/sja1105.h +++ b/include/linux/dsa/sja1105.h @@ -37,8 +37,6 @@ * the structure defined in struct sja1105_private. */ struct sja1105_tagger_data { - struct sk_buff_head skb_rxtstamp_queue; - struct work_struct rxtstamp_work; struct sk_buff *stampable_skb; /* Protects concurrent access to the meta state machine * from taggers running on multiple ports on SMP systems |