[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191227023750.12559-1-olteanv@gmail.com>
Date: Fri, 27 Dec 2019 04:37:47 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: davem@...emloft.net, jakub.kicinski@...ronome.com
Cc: richardcochran@...il.com, f.fainelli@...il.com,
vivien.didelot@...il.com, andrew@...n.ch, netdev@...r.kernel.org,
Vladimir Oltean <olteanv@...il.com>
Subject: [PATCH net-next 0/3] Improvements to SJA1105 DSA RX timestamping
This series makes the sja1105 DSA driver use a dedicated kernel thread
for RX timestamping, a process which is time-sensitive and otherwise a
bit fragile. This allows users to customize their system (probabil an
embedded PTP switch) fully and allocate the CPU bandwidth for the driver
to expedite the RX timestamps as quickly as possible.
While doing this conversion, add a function to the PTP core for
cancelling this kernel thread (function which I found rather strange to
be missing).
Vladimir Oltean (3):
ptp: introduce ptp_cancel_worker_sync
net: dsa: sja1105: Use PTP core's dedicated kernel thread for RX
timestamping
net: dsa: sja1105: Empty the RX timestamping queue on PTP settings
change
drivers/net/dsa/sja1105/sja1105_ptp.c | 36 +++++++++++++--------------
drivers/net/dsa/sja1105/sja1105_ptp.h | 1 +
drivers/ptp/ptp_clock.c | 6 +++++
include/linux/dsa/sja1105.h | 2 --
include/linux/ptp_clock_kernel.h | 7 ++++++
5 files changed, 32 insertions(+), 20 deletions(-)
--
2.17.1
Powered by blists - more mailing lists