netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 net-next 0/5] PHC support in ENA driver
@ 2025-02-18 18:39 David Arinzon
  2025-02-18 18:39 ` [PATCH v7 net-next 1/5] net: ena: Add PHC support in the " David Arinzon
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: David Arinzon @ 2025-02-18 18:39 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, netdev
  Cc: David Arinzon, Eric Dumazet, Paolo Abeni, Simon Horman,
	Richard Cochran, Woodhouse, David, Machulsky, Zorik,
	Matushevsky, Alexander, Saeed Bshara, Wilson, Matt,
	Liguori, Anthony, Bshara, Nafea, Schmeilin, Evgeny,
	Belgazal, Netanel, Saidi, Ali, Herrenschmidt, Benjamin,
	Kiyanovski, Arthur, Dagan, Noam, Bernstein, Amit, Agroskin, Shay,
	Abboud, Osama, Ostrovsky, Evgeny, Tabachnik, Ofir,
	Machnikowski, Maciek, Rahul Rameshbabu, Gal Pressman,
	Vadim Fedorenko

Changes in v7:
- Move PHC stats to sysfs
- Add information about PHC enablement
- Remove unrelated style changes

Changes in v6 (https://lore.kernel.org/netdev/20250206141538.549-1-darinzon@amazon.com/):
- Remove PHC error bound

Changes in v5 (https://lore.kernel.org/netdev/20250122102040.752-1-darinzon@amazon.com/):
- Add PHC error bound
- Add PHC enablement and error bound retrieval through sysfs

Changes in v4 (https://lore.kernel.org/netdev/20241114095930.200-1-darinzon@amazon.com/):
- Minor documentation change (resolution instead of accuracy)

Changes in v3 (https://lore.kernel.org/netdev/20241103113140.275-1-darinzon@amazon.com/):
- Resolve a compilation error

Changes in v2 (https://lore.kernel.org/netdev/20241031085245.18146-1-darinzon@amazon.com/):
- CCd PTP maintainer
- Fixed style issues
- Fixed documentation warning

v1 (https://lore.kernel.org/netdev/20241021052011.591-1-darinzon@amazon.com/)

This patchset adds the support for PHC (PTP Hardware Clock)
in the ENA driver. The documentation part of the patchset
includes additional information, including statistics,
utilization and invocation examples through the testptp
utility.

David Arinzon (5):
  net: ena: Add PHC support in the ENA driver
  net: ena: PHC silent reset
  net: ena: PHC enable through sysfs
  net: ena: PHC stats through sysfs
  net: ena: Add PHC documentation

 .../device_drivers/ethernet/amazon/ena.rst    |  96 +++++++
 drivers/net/ethernet/amazon/Kconfig           |   1 +
 drivers/net/ethernet/amazon/ena/Makefile      |   2 +-
 .../net/ethernet/amazon/ena/ena_admin_defs.h  |  63 ++++-
 drivers/net/ethernet/amazon/ena/ena_com.c     | 247 ++++++++++++++++++
 drivers/net/ethernet/amazon/ena/ena_com.h     |  83 ++++++
 drivers/net/ethernet/amazon/ena/ena_ethtool.c |  21 +-
 drivers/net/ethernet/amazon/ena/ena_netdev.c  |  44 +++-
 drivers/net/ethernet/amazon/ena/ena_netdev.h  |  12 +
 drivers/net/ethernet/amazon/ena/ena_phc.c     | 230 ++++++++++++++++
 drivers/net/ethernet/amazon/ena/ena_phc.h     |  37 +++
 .../net/ethernet/amazon/ena/ena_regs_defs.h   |   8 +
 drivers/net/ethernet/amazon/ena/ena_sysfs.c   | 133 ++++++++++
 drivers/net/ethernet/amazon/ena/ena_sysfs.h   |  28 ++
 14 files changed, 990 insertions(+), 15 deletions(-)
 create mode 100644 drivers/net/ethernet/amazon/ena/ena_phc.c
 create mode 100644 drivers/net/ethernet/amazon/ena/ena_phc.h
 create mode 100644 drivers/net/ethernet/amazon/ena/ena_sysfs.c
 create mode 100644 drivers/net/ethernet/amazon/ena/ena_sysfs.h

-- 
2.47.1


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

end of thread, other threads:[~2025-03-03 15:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 18:39 [PATCH v7 net-next 0/5] PHC support in ENA driver David Arinzon
2025-02-18 18:39 ` [PATCH v7 net-next 1/5] net: ena: Add PHC support in the " David Arinzon
2025-02-18 18:39 ` [PATCH v7 net-next 2/5] net: ena: PHC silent reset David Arinzon
2025-02-18 18:39 ` [PATCH v7 net-next 3/5] net: ena: PHC enable through sysfs David Arinzon
2025-03-03 15:00   ` Leon Romanovsky
2025-02-18 18:39 ` [PATCH v7 net-next 4/5] net: ena: PHC stats " David Arinzon
2025-02-21  2:08   ` Jakub Kicinski
2025-02-25 17:52     ` Arinzon, David
2025-02-25  9:38   ` Simon Horman
2025-02-25 17:53     ` Arinzon, David
2025-02-18 18:39 ` [PATCH v7 net-next 5/5] net: ena: Add PHC documentation David Arinzon

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