lkml.org 
[lkml]   [2021]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[net-next, v3, 0/7] Support Ocelot PTP Sync one-step timestamping
Date
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
--
2.25.1

\
 
 \ /
  Last update: 2021-04-27 06:12    [W:0.054 / U:3.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site