PHC support in ENA driver
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v13 Latest9 patches 0 repliesApplied 9/9
- v129 patches 4 repliesSuperseded
- v118 patches 6 repliesSuperseded
Earlier versions · 10
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 8 patches | 6 replies | Superseded | |
| v9 | 8 patches | 4 replies | Superseded | |
| v8 | 5 patches | 29 replies | Superseded | |
| v7 | 5 patches | 5 replies | Superseded | |
| v6 | 4 patches | 10 replies | Superseded | |
| v5 | 5 patches | 3 replies | Superseded | |
| v4 | 3 patches | 5 replies | Superseded | |
| v3 | 3 patches | 8 replies | Superseded | |
| v2 | 3 patches | 0 replies | Superseded | |
| v1 | 3 patches | 10 replies | Superseded |
Changes in v13 from the cover letter
- Remove unnecessary out-of-tree driver documentation
Patches in v13 All 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: ena: Add PHC support in the ENA driverDocumentation/ drivers/ drivers/ +9 more | +736 | 0 replies | Applied |
| 2/9 | net: ena: PHC silent resetdrivers/ | +9 | 0 replies | Applied |
| 3/9 | net: ena: Add device reload capability through devlinkDocumentation/ drivers/ drivers/ +4 more | +158 | 0 replies | Applied |
| 4/9 | net: ena: Add devlink port supportdrivers/ drivers/ | +30 | 0 replies | Applied |
| 5/9 | devlink: Add new "enable_phc" generic device paramDocumentation/ include/ net/ | +12 | 0 replies | Applied |
| 6/9 | net: ena: Control PHC enable through devlinkdrivers/ drivers/ drivers/ +1 more | +95 | 0 replies | Applied |
| 7/9 | net: ena: Add debugfs support to the ENA driverDocumentation/ drivers/ drivers/ +3 more | +66 | 0 replies | Applied |
| 8/9 | net: ena: View PHC stats using debugfsdrivers/ | +35 | 0 replies | Applied |
| 9/9 | net: ena: Add PHC documentationDocumentation/ | +93 | 0 replies | Applied |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Jiri Pirko |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | R-b |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v13 net-next 0/9] PHC support in ENA driver
Changes in v13
- Remove unnecessary out-of-tree driver documentation
Changes in v12 (https://lore.kernel.org/netdev/[email protected]/):
- Add devlink port support
- Remove unnecessary checks from devlink reload up and reload down
Changes in v11 (https://lore.kernel.org/netdev/[email protected]/):
- Change PHC enablement devlink parameter to be generic instead of device specific
Changes in v10 (https://lore.kernel.org/netdev/[email protected]/):
- Remove error checks for debugfs calls
Changes in v9 (https://lore.kernel.org/netdev/[email protected]/):
- Use devlink instead of sysfs for PHC enablement
- Use debugfs instead of sysfs for PHC stats
- Add PHC error flags and break down phc_err into two errors
- Various style changes
Changes in v8 (https://lore.kernel.org/netdev/[email protected]/):
- Create a sysfs entry for each PHC stat
Changes in v7 (https://lore.kernel.org/netdev/[email protected]/):
- Move PHC stats to sysfs
- Add information about PHC enablement
- Remove unrelated style changes
Changes in v6 (https://lore.kernel.org/netdev/[email protected]/):
- Remove PHC error bound
Changes in v5 (https://lore.kernel.org/netdev/[email protected]/):
- Add PHC error bound
- Add PHC enablement and error bound retrieval through sysfs
Changes in v4 (https://lore.kernel.org/netdev/[email protected]/):
- Minor documentation change (resolution instead of accuracy)
Changes in v3 (https://lore.kernel.org/netdev/[email protected]/):
- Resolve a compilation error
Changes in v2 (https://lore.kernel.org/netdev/[email protected]/):
- CCd PTP maintainer
- Fixed style issues
- Fixed documentation warning
v1 (https://lore.kernel.org/netdev/[email protected]/)
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 (9):
net: ena: Add PHC support in the ENA driver
net: ena: PHC silent reset
net: ena: Add device reload capability through devlink
net: ena: Add devlink port support
devlink: Add new "enable_phc" generic device param
net: ena: Control PHC enable through devlink
net: ena: Add debugfs support to the ENA driver
net: ena: View PHC stats using debugfs
net: ena: Add PHC documentation
.../device_drivers/ethernet/amazon/ena.rst | 108 +++++++ .../networking/devlink/devlink-params.rst | 3 + drivers/net/ethernet/amazon/Kconfig | 2 + drivers/net/ethernet/amazon/ena/Makefile | 2 +- .../net/ethernet/amazon/ena/ena_admin_defs.h | 74 ++++- drivers/net/ethernet/amazon/ena/ena_com.c | 267 ++++++++++++++++++ drivers/net/ethernet/amazon/ena/ena_com.h | 84 ++++++ drivers/net/ethernet/amazon/ena/ena_debugfs.c | 62 ++++ drivers/net/ethernet/amazon/ena/ena_debugfs.h | 27 ++ drivers/net/ethernet/amazon/ena/ena_devlink.c | 210 ++++++++++++++ drivers/net/ethernet/amazon/ena/ena_devlink.h | 21 ++ drivers/net/ethernet/amazon/ena/ena_ethtool.c | 16 +- drivers/net/ethernet/amazon/ena/ena_netdev.c | 62 +++- drivers/net/ethernet/amazon/ena/ena_netdev.h | 14 + drivers/net/ethernet/amazon/ena/ena_phc.c | 233 +++++++++++++++ drivers/net/ethernet/amazon/ena/ena_phc.h | 37 +++ .../net/ethernet/amazon/ena/ena_regs_defs.h | 8 + include/net/devlink.h | 4 + net/devlink/param.c | 5 + 19 files changed, 1229 insertions(+), 10 deletions(-) create mode 100644 drivers/net/ethernet/amazon/ena/ena_debugfs.c create mode 100644 drivers/net/ethernet/amazon/ena/ena_debugfs.h create mode 100644 drivers/net/ethernet/amazon/ena/ena_devlink.c create mode 100644 drivers/net/ethernet/amazon/ena/ena_devlink.h create mode 100644 drivers/net/ethernet/amazon/ena/ena_phc.c create mode 100644 drivers/net/ethernet/amazon/ena/ena_phc.h
Signature · 1 line
2.47.1