Skip to content

mlx5 real time clock

Saeed Mahameed linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/mlx5: Add new timestamp mode bitsinclude/linux/mlx5/mlx5_ifc.h+49 -52 replies
2/6net/mlx5: Add register layout to support real-time time-stampinclude/linux/mlx5/device.h include/linux/mlx5/driver.h include/linux/mlx5/mlx5_ifc.h+33 -30 replies
3/6net/mlx5: Refactor init clock functiondrivers/net/ethernet/mellanox/mlx5/core/lib/clock.c+53 -230 replies
4/6net/mlx5: Move all internal timer metadata into a dedicated structdrivers/net/ethernet/mellanox/mlx5/core/lib/clock.c drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h include/linux/mlx5/driver.h+71 -510 replies
5/6net/mlx5: Move some PPS logic into helper functionsdrivers/net/ethernet/mellanox/mlx5/core/lib/clock.c+73 -400 replies
6/6net/mlx5: Add cyc2time HW translation mode supportdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h +5 more+241 -380 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchMoshe Shemesh
1/6
2/6R-b
3/6R-b
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH mlx5-next 0/6] mlx5 real time clock

From: Saeed Mahameed <[email protected]>

Hi,

This series adds the support for mlx5 clock real time translation mode. In case of no objection the series will be applied to mlx5-next branch.

Device timestamp can be in real time mode (cycles to time translation is offloaded into the Hardware). With real time mode, HW provides timestamp which is already translated into nanoseconds.

For more information about real time mode please see last patch in the series.

Thanks,
Saeed.

---

Aharon Landau (1):
net/mlx5: Add new timestamp mode bits

Aya Levin (1):
net/mlx5: Add cyc2time HW translation mode support

Eran Ben Elisha (4):
net/mlx5: Add register layout to support real-time time-stamp net/mlx5: Refactor init clock function
net/mlx5: Move all internal timer metadata into a dedicated struct net/mlx5: Move some PPS logic into helper functions

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |   3 +
 .../net/ethernet/mellanox/mlx5/core/en/ptp.c  |   7 +-
 .../net/ethernet/mellanox/mlx5/core/en/txrx.h |   7 +
 .../net/ethernet/mellanox/mlx5/core/en_main.c |  18 +-
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   |  11 +-
 .../net/ethernet/mellanox/mlx5/core/en_tx.c   |   3 +-
 .../ethernet/mellanox/mlx5/core/lib/clock.c   | 431 +++++++++++++-----
 .../ethernet/mellanox/mlx5/core/lib/clock.h   |  36 +-
 include/linux/mlx5/device.h                   |   5 +-
 include/linux/mlx5/driver.h                   |  13 +-
 include/linux/mlx5/mlx5_ifc.h                 |  84 +++-
 11 files changed, 489 insertions(+), 129 deletions(-)
Signature · 1 line
2.29.2