linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yangbo Lu <yangbo.lu@nxp.com>
To: netdev@vger.kernel.org
Cc: Yangbo Lu <yangbo.lu@nxp.com>,
	Richard Cochran <richardcochran@gmail.com>,
	Vladimir Oltean <vladimir.oltean@nxp.com>,
	"David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Kurt Kanzenbach <kurt@linutronix.de>,
	Andrew Lunn <andrew@lunn.ch>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Claudiu Manoil <claudiu.manoil@nxp.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	UNGLinuxDriver@microchip.com, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [net-next, v3, 0/7] Support Ocelot PTP Sync one-step timestamping
Date: Tue, 27 Apr 2021 12:21:56 +0800	[thread overview]
Message-ID: <20210427042203.26258-1-yangbo.lu@nxp.com> (raw)

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


             reply	other threads:[~2021-04-27  4:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27  4:21 Yangbo Lu [this message]
2021-04-27  4:21 ` [net-next, v3, 1/7] net: dsa: check tx timestamp request in core driver Yangbo Lu
2021-04-27  4:21 ` [net-next, v3, 2/7] net: dsa: no longer identify PTP packet " Yangbo Lu
2021-04-27  4:21 ` [net-next, v3, 3/7] net: dsa: no longer clone skb " Yangbo Lu
2021-04-27  4:22 ` [net-next, v3, 4/7] net: dsa: free skb->cb usage " Yangbo Lu
2021-04-27  4:22 ` [net-next, v3, 5/7] docs: networking: timestamping: update for DSA switches Yangbo Lu
2021-04-27  4:22 ` [net-next, v3, 6/7] net: mscc: ocelot: convert to ocelot_port_txtstamp_request() Yangbo Lu
2021-04-27  4:22 ` [net-next, v3, 7/7] net: mscc: ocelot: support PTP Sync one-step timestamping Yangbo Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210427042203.26258-1-yangbo.lu@nxp.com \
    --to=yangbo.lu@nxp.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=claudiu.manoil@nxp.com \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kurt@linutronix.de \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@gmail.com \
    --cc=vivien.didelot@gmail.com \
    --cc=vladimir.oltean@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).