mbox series

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

Message ID 20210426093802.38652-1-yangbo.lu@nxp.com
Headers show
Series Support Ocelot PTP Sync one-step timestamping | expand

Message

Y.b. Lu April 26, 2021, 9:37 a.m. UTC
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.

Yangbo Lu (7):
  net: dsa: check tx timestamp request in core driver
  net: dsa: no longer identify PTP packet in core driver
  net: dsa: free skb->cb usage in core driver
  net: dsa: no longer clone skb 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: 0ea1041bfa3aa2971f858edd9e05477c2d3d54a0