add gettimex64() support for mlx4
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 5 repliesIn review
- v12 patches 3 repliesSuperseded
Changes in v2 from the cover letter
* Split the original patch that implemented time-cache and added pre-/post-timestamp into two separate patches.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mlx4: introduce the time_cache into the mlx4 PTP implementationdrivers/ drivers/ drivers/ | +24 | 2 replies | |
| 2/3 | mlx4: update mlx4_read_clock() to provide pre/post timestampsdrivers/ drivers/ include/ | +19 | 0 replies | |
| 3/3 | mlx4: add gettimex64() ptp methoddrivers/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 net-next 0/3] add gettimex64() support for mlx4
The current driver only supports the gettime64() PTP clock read operation. This series introduces support for gettimex64(), which provides pre- and post-timestamps using one of the supported clock bases to help measure the clock-read width.
The first patch reorganizes the code to enable the existing clock-read method to handle pre- and post-timestamps. The second patch adds the gettimex64() functionality.
Mahesh Bandewar (3):
mlx4: introduce the time_cache into the mlx4 PTP implementation
mlx4: update mlx4_read_clock() to provide pre/post timestamps
mlx4: add gettimex64() ptp method
drivers/net/ethernet/mellanox/mlx4/en_clock.c | 50 +++++++++++++++++-- drivers/net/ethernet/mellanox/mlx4/main.c | 12 +++-- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 1 + include/linux/mlx4/device.h | 3 +- 4 files changed, 57 insertions(+), 9 deletions(-)
v1->v2
* Split the original patch that implemented time-cache and added pre-/post-timestamp into two separate patches.
Signature · 1 line
2.47.0.rc1.288.g06298d1525-goog