netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 net-next 00/10] Introduce ndo_hwtstamp_get() and ndo_hwtstamp_set()
@ 2023-07-13 12:18 Vladimir Oltean
  2023-07-13 12:18 ` [PATCH v7 net-next 01/10] net: add NDOs for configuring hardware timestamping Vladimir Oltean
                   ` (12 more replies)
  0 siblings, 13 replies; 25+ messages in thread
From: Vladimir Oltean @ 2023-07-13 12:18 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrew Lunn, Florian Fainelli, Maxim Georgiev, Horatiu Vultur,
	Köry Maincent, Maxime Chevallier, Richard Cochran,
	Vadim Fedorenko, Gerhard Engleder, Hangbin Liu, Russell King,
	Heiner Kallweit, Jacob Keller, Jay Vosburgh, Andy Gospodarek,
	Wei Fang, Shenwei Wang, Clark Wang, NXP Linux Team,
	UNGLinuxDriver, Lars Povlsen, Steen Hegelund, Daniel Machon,
	Simon Horman, Casper Andersson, Sergey Organov, linux-arm-kernel,
	linux-kernel

Based on previous RFCs from Maxim Georgiev:
https://lore.kernel.org/netdev/20230502043150.17097-1-glipus@gmail.com/

this series attempts to introduce new API for the hardware timestamping
control path (SIOCGHWTSTAMP and SIOCSHWTSTAMP handling).

I don't have any board with phylib hardware timestamping, so I would
appreciate testing (especially on lan966x, the most intricate
conversion). I was, however, able to test netdev level timestamping,
because I also have some more unsubmitted conversions in progress:

https://github.com/vladimiroltean/linux/commits/ndo-hwtstamp-v7

I hope that the concerns expressed in the comments of previous series
were addressed, and that Köry Maincent's series:
https://lore.kernel.org/netdev/20230406173308.401924-1-kory.maincent@bootlin.com/
can make progress in parallel with the conversion of the rest of drivers.

Maxim Georgiev (5):
  net: add NDOs for configuring hardware timestamping
  net: add hwtstamping helpers for stackable net devices
  net: vlan: convert to ndo_hwtstamp_get() / ndo_hwtstamp_set()
  net: macvlan: convert to ndo_hwtstamp_get() / ndo_hwtstamp_set()
  net: bonding: convert to ndo_hwtstamp_get() / ndo_hwtstamp_set()

Vladimir Oltean (5):
  net: fec: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()
  net: fec: delete fec_ptp_disable_hwts()
  net: sparx5: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()
  net: lan966x: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()
  net: remove phy_has_hwtstamp() -> phy_mii_ioctl() decision from
    converted drivers

 drivers/net/bonding/bond_main.c               | 105 ++++++----
 drivers/net/ethernet/freescale/fec.h          |   6 +-
 drivers/net/ethernet/freescale/fec_main.c     |  41 ++--
 drivers/net/ethernet/freescale/fec_ptp.c      |  43 ++--
 .../ethernet/microchip/lan966x/lan966x_main.c |  61 ++++--
 .../ethernet/microchip/lan966x/lan966x_main.h |  12 +-
 .../ethernet/microchip/lan966x/lan966x_ptp.c  |  34 ++--
 .../ethernet/microchip/sparx5/sparx5_main.h   |   9 +-
 .../ethernet/microchip/sparx5/sparx5_netdev.c |  35 +++-
 .../ethernet/microchip/sparx5/sparx5_ptp.c    |  24 ++-
 drivers/net/macvlan.c                         |  34 ++--
 include/linux/net_tstamp.h                    |  28 +++
 include/linux/netdevice.h                     |  25 +++
 net/8021q/vlan_dev.c                          |  27 ++-
 net/core/dev_ioctl.c                          | 183 +++++++++++++++++-
 15 files changed, 480 insertions(+), 187 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2023-07-18  3:28 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13 12:18 [PATCH v7 net-next 00/10] Introduce ndo_hwtstamp_get() and ndo_hwtstamp_set() Vladimir Oltean
2023-07-13 12:18 ` [PATCH v7 net-next 01/10] net: add NDOs for configuring hardware timestamping Vladimir Oltean
2023-07-13 12:18 ` [PATCH v7 net-next 02/10] net: add hwtstamping helpers for stackable net devices Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 03/10] net: vlan: convert to ndo_hwtstamp_get() / ndo_hwtstamp_set() Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 04/10] net: macvlan: " Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 05/10] net: bonding: " Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 06/10] net: fec: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() Vladimir Oltean
2023-07-14  3:05   ` Wei Fang
2023-07-14  8:47     ` Russell King (Oracle)
2023-07-14  9:08       ` Wei Fang
2023-07-13 12:19 ` [PATCH v7 net-next 07/10] net: fec: delete fec_ptp_disable_hwts() Vladimir Oltean
2023-07-14  3:06   ` Wei Fang
2023-07-13 12:19 ` [PATCH v7 net-next 08/10] net: sparx5: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 09/10] net: lan966x: " Vladimir Oltean
2023-07-13 12:19 ` [PATCH v7 net-next 10/10] net: remove phy_has_hwtstamp() -> phy_mii_ioctl() decision from converted drivers Vladimir Oltean
2023-07-14  2:50   ` Jakub Kicinski
2023-07-13 21:50 ` [PATCH v7 net-next 00/10] Introduce ndo_hwtstamp_get() and ndo_hwtstamp_set() Jacob Keller
2023-07-13 22:33   ` Vladimir Oltean
2023-07-13 22:36     ` Jacob Keller
2023-07-14  8:00 ` Horatiu Vultur
2023-07-17 11:29   ` Vladimir Oltean
2023-07-17  1:22 ` Max Georgiev
2023-07-17 11:25   ` Vladimir Oltean
2023-07-17 20:23     ` Jacob Keller
2023-07-18  3:28       ` Richard Cochran

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).