dpll: expose clock quality level
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
- v4 Latest2 patches 0 repliesApplied 2/2
- v32 patches 16 repliesSuperseded
- v22 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 13 replies | Superseded |
Changes in v4 from the cover letter
- changed clock-quality-level enum documentation to clearly talk about holdover status.
- added documentation of clock-quality-level attribute to explain when it can be put multiple times
Patches in v4 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dpll: add clock quality level attribute and opDocumentation/ drivers/ include/ +1 more | +93 | 0 replies | Applied |
| 2/2 | net/mlx5: DPLL, Add clock quality level op implementationdrivers/ | +81 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Arkadiusz Kubalewski |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v4 0/2] dpll: expose clock quality level
From: Jiri Pirko <[email protected]>
Some device driver might know the quality of the clock it is running. In order to expose the information to the user, introduce new netlink attribute and dpll device op. Implement the op in mlx5 driver.
Example:
$ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/dpll.yaml --dump device-get
[{'clock-id': 13316852727532664826,
'clock-quality-level': ['itu-opt1-eeec'], <<<<<<<<<<<<<<<<<
'id': 0,
'lock-status': 'unlocked',
'lock-status-error': 'none',
'mode': 'manual',
'mode-supported': ['manual'],
'module-name': 'mlx5_dpll',
'type': 'eec'}]---v3->v4:
- changed clock-quality-level enum documentation to clearly talk about holdover status.
- added documentation of clock-quality-level attribute to explain when it can be put multiple timesv2->v3:
- changed "itu" prefix to "itu-opt1"
- changed driver op to pass bitmap to allow to set multiple qualities and pass it to user over multiple attrs
- enhanced the documentation a bitv1->v2:
- extended quality enum documentation
- added "itu" prefix to the enum values
Jiri Pirko (2):
dpll: add clock quality level attribute and op net/mlx5: DPLL, Add clock quality level op implementation
Documentation/netlink/specs/dpll.yaml | 41 ++++++++++ drivers/dpll/dpll_netlink.c | 24 ++++++ .../net/ethernet/mellanox/mlx5/core/dpll.c | 81 +++++++++++++++++++ include/linux/dpll.h | 4 + include/uapi/linux/dpll.h | 24 ++++++ 5 files changed, 174 insertions(+)
Signature · 1 line
2.47.0