Thread (6 messages) 6 messages, 2 authors, 2019-12-27
STALE2367d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH net-next 0/3] Improvements to SJA1105 DSA RX timestamping

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2019-12-27 02:38:13

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help