netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 net-next 0/5] PHC support in ENA driver
@ 2025-01-22 10:20 David Arinzon
  2025-01-22 10:20 ` [PATCH v5 net-next 1/5] net: ena: Add PHC support in the " David Arinzon
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: David Arinzon @ 2025-01-22 10:20 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, netdev
  Cc: David Arinzon, Eric Dumazet, Paolo Abeni, 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

Changes in v5:
- Add PHC error bound
- Add PHC enablement and error bound retrieval through sysfs

Changes in v4:
- Minor documentation change (resolution instead of accuracy)

Changes in v3:
- Resolve a compilation error

Changes in v2:
- CCd PTP maintainer
- Fixed style issues
- Fixed documentation warning

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: Add PHC documentation
  net: ena: PHC error bound/flags support
  net: ena: PHC enable and error_bound through sysfs

 .../device_drivers/ethernet/amazon/ena.rst    | 111 +++++++
 drivers/net/ethernet/amazon/Kconfig           |   1 +
 drivers/net/ethernet/amazon/ena/Makefile      |   2 +-
 .../net/ethernet/amazon/ena/ena_admin_defs.h  |  79 ++++-
 drivers/net/ethernet/amazon/ena/ena_com.c     | 276 ++++++++++++++++++
 drivers/net/ethernet/amazon/ena/ena_com.h     |  93 ++++++
 drivers/net/ethernet/amazon/ena/ena_ethtool.c | 102 +++++--
 drivers/net/ethernet/amazon/ena/ena_netdev.c  |  44 ++-
 drivers/net/ethernet/amazon/ena/ena_netdev.h  |   6 +
 drivers/net/ethernet/amazon/ena/ena_phc.c     | 239 +++++++++++++++
 drivers/net/ethernet/amazon/ena/ena_phc.h     |  38 +++
 .../net/ethernet/amazon/ena/ena_regs_defs.h   |   8 +
 drivers/net/ethernet/amazon/ena/ena_sysfs.c   | 110 +++++++
 drivers/net/ethernet/amazon/ena/ena_sysfs.h   |  28 ++
 14 files changed, 1108 insertions(+), 29 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.40.1


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

end of thread, other threads:[~2025-01-22 13:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 10:20 [PATCH v5 net-next 0/5] PHC support in ENA driver David Arinzon
2025-01-22 10:20 ` [PATCH v5 net-next 1/5] net: ena: Add PHC support in the " David Arinzon
2025-01-22 10:20 ` [PATCH v5 net-next 2/5] net: ena: PHC silent reset David Arinzon
2025-01-22 10:20 ` [PATCH v5 net-next 3/5] net: ena: Add PHC documentation David Arinzon
2025-01-22 10:20 ` [PATCH v5 net-next 4/5] net: ena: PHC error bound/flags support David Arinzon
2025-01-22 10:20 ` [PATCH v5 net-next 5/5] net: ena: PHC enable and error_bound through sysfs David Arinzon
2025-01-22 11:27 ` [PATCH v5 net-next 0/5] PHC support in ENA driver Gal Pressman
2025-01-22 12:13   ` Arinzon, David
2025-01-22 13:11 ` Simon Horman

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