This is a pair of patches for the mlx5 driver related to the PTP clock. The first patch fixes a potential issue causing backward jumps due to a late update of the PHC timecounter.
The second patch adds support for the PTP_SYS_OFFSET_EXTENDED ioctl. Miroslav Lichvar (2): mlx5: update timecounter at least twice per counter overflow mlx5: extend PTP gettime function to read system clock .../ethernet/mellanox/mlx5/core/lib/clock.c | 24 +++++++++++-------- .../net/ethernet/mellanox/mlx5/core/main.c | 11 +++++++-- .../ethernet/mellanox/mlx5/core/mlx5_core.h | 4 +++- 3 files changed, 26 insertions(+), 13 deletions(-) -- 2.17.2