Skip to content

Improvements to SJA1105 DSA RX timestamping

Vladimir Oltean netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ptp: introduce ptp_cancel_worker_syncdrivers/ptp/ptp_clock.c include/linux/ptp_clock_kernel.h+15 -00 replies
2/3net: dsa: sja1105: Use PTP core's dedicated kernel thread for RX timestampingdrivers/net/dsa/sja1105/sja1105_ptp.c drivers/net/dsa/sja1105/sja1105_ptp.h include/linux/dsa/sja1105.h+16 -200 replies
3/3net: dsa: sja1105: Empty the RX timestamping queue on PTP settings changedrivers/net/dsa/sja1105/sja1105_ptp.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 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      |  9 +++++++
 5 files changed, 34 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1