Skip to content

Provide already supported real-time timestamp

Leon Romanovsky linux-rdma lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2RDMA/mlx5: Refactor get_ts_format functions to simplify codedrivers/infiniband/hw/mlx5/qp.c drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h +2 more+55 -870 replies
2/2RDMA/mlx5: Support real-time timestamp directly from the devicedrivers/infiniband/hw/mlx5/cq.c drivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h +2 more+45 -60 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMaor Gottlieb
1/2R-b
2/2R-b

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 rdma-next 0/2] Provide already supported real-time timestamp

From: Leon Romanovsky <[email protected]>

In case device supports only real-time timestamp, the kernel will fail to create QP despite rdma-core requested such timestamp type.

It is because device returns free-running timestamp, and the conversion from free-running to real-time is performed in the user space.

This series fixes it, by returning real-time timestamp.

Thanks

Aharon Landau (2):
RDMA/mlx5: Refactor get_ts_format functions to simplify code RDMA/mlx5: Support real-time timestamp directly from the device

 drivers/infiniband/hw/mlx5/cq.c               |   6 +-
 drivers/infiniband/hw/mlx5/main.c             |   6 ++
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   7 ++
 drivers/infiniband/hw/mlx5/qp.c               | 102 ++++++++++--------
 .../net/ethernet/mellanox/mlx5/core/en_main.c |   8 +-
 .../ethernet/mellanox/mlx5/core/lib/clock.h   |  10 +-
 include/linux/mlx5/mlx5_ifc.h                 |  36 ++-----
 include/linux/mlx5/qp.h                       |   4 +-
 include/uapi/rdma/mlx5-abi.h                  |   2 +
 9 files changed, 94 insertions(+), 87 deletions(-)
Signature · 1 line
2.31.1