Skip to content

Support Ocelot PTP Sync one-step timestamping

Yangbo Lu linux-doc lkml netdev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v27 patches 13 repliesSuperseded
  3. v13 patches 12 repliesSuperseded

Changes in v3 from the cover letter

- Switched sequence of patch #3 and #4 with rebasing to fix build.
- Replaced hard coded 48 of memset(skb->cb, 0, 48) with sizeof().

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net: dsa: check tx timestamp request in core driverdrivers/net/dsa/hirschmann/hellcreek_hwtstamp.c drivers/net/dsa/mv88e6xxx/hwtstamp.c drivers/net/dsa/ocelot/felix.c +1 more+4 -90 replies
2/7net: dsa: no longer identify PTP packet in core driverdrivers/net/dsa/hirschmann/hellcreek_hwtstamp.c drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h drivers/net/dsa/mv88e6xxx/hwtstamp.c +6 more+21 -210 replies
3/7net: dsa: no longer clone skb in core driverdrivers/net/dsa/hirschmann/hellcreek_hwtstamp.c drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h drivers/net/dsa/mv88e6xxx/hwtstamp.c +6 more+57 -490 replies
4/7net: dsa: free skb->cb usage in core driverdrivers/net/dsa/ocelot/felix.c drivers/net/dsa/sja1105/sja1105_main.c drivers/net/dsa/sja1105/sja1105_ptp.c +8 more+27 -320 replies
5/7docs: networking: timestamping: update for DSA switchesDocumentation/networking/timestamping.rst+39 -240 replies
6/7net: mscc: ocelot: convert to ocelot_port_txtstamp_request()drivers/net/dsa/ocelot/felix.c drivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot_net.c +1 more+38 -240 replies
7/7net: mscc: ocelot: support PTP Sync one-step timestampingdrivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot_net.c include/soc/mscc/ocelot.h +3 more+81 -580 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchKurt KanzenbachFlorian FainelliRichard CochranVladimir Oltean
1/7T-b R-b A-b
2/7T-b A-b
3/7T-b A-b
4/7A-b
5/7A-b
6/7A-b R-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [net-next, v3, 0/7] Support Ocelot PTP Sync one-step timestamping

This patch-set is to support Ocelot PTP Sync one-step timestamping. Actually before that, this patch-set cleans up and optimizes the DSA slave tx timestamp request handling process.

Changes for v2:
- Split tx timestamp optimization patch.
- Updated doc patch.
- Freed skb->cb usage in dsa core driver, and moved to device drivers.
- Other minor fixes.
Changes for v3:
- Switched sequence of patch #3 and #4 with rebasing to fix build.
- Replaced hard coded 48 of memset(skb->cb, 0, 48) with sizeof().

Yangbo Lu (7):
net: dsa: check tx timestamp request in core driver
net: dsa: no longer identify PTP packet in core driver
net: dsa: no longer clone skb in core driver
net: dsa: free skb->cb usage in core driver
docs: networking: timestamping: update for DSA switches
net: mscc: ocelot: convert to ocelot_port_txtstamp_request()
net: mscc: ocelot: support PTP Sync one-step timestamping

 Documentation/networking/timestamping.rst     | 63 ++++++++------
 .../net/dsa/hirschmann/hellcreek_hwtstamp.c   | 28 ++++---
 .../net/dsa/hirschmann/hellcreek_hwtstamp.h   |  4 +-
 drivers/net/dsa/mv88e6xxx/hwtstamp.c          | 26 ++++--
 drivers/net/dsa/mv88e6xxx/hwtstamp.h          | 10 +--
 drivers/net/dsa/ocelot/felix.c                | 19 +++--
 drivers/net/dsa/sja1105/sja1105_main.c        |  2 +-
 drivers/net/dsa/sja1105/sja1105_ptp.c         | 16 ++--
 drivers/net/dsa/sja1105/sja1105_ptp.h         |  4 +-
 drivers/net/ethernet/mscc/ocelot.c            | 83 +++++++++++++++++--
 drivers/net/ethernet/mscc/ocelot_net.c        | 20 ++---
 include/linux/dsa/sja1105.h                   |  3 +-
 include/net/dsa.h                             | 18 +---
 include/soc/mscc/ocelot.h                     | 21 ++++-
 net/dsa/Kconfig                               |  2 +
 net/dsa/slave.c                               | 23 +----
 net/dsa/tag_ocelot.c                          | 27 +-----
 net/dsa/tag_ocelot_8021q.c                    | 41 +++------
 18 files changed, 230 insertions(+), 180 deletions(-)

base-commit: 6d72e7c767acbbdd44ebc7d89c6690b405b32b57

Signature · 1 line
2.25.1