mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
David S. Miller
parent
544fed47af
commit
1e762bd278
@@ -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
|
||||
|
Reference in New Issue
Block a user