Skip to content

Convert mlx5e and IPoIB to ndo_hwtstamp_get/set

Tariq Toukan bpf linux-rdma lkml netdev 1 version Applied

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

  1. v1 Latest6 patches 2 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net/mlx5e: Remove redundant tstamp pointer from channel structuresdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c drivers/net/ethernet/mellanox/mlx5/core/en/ptp.h +5 more+2 -90 repliesApplied
2/6net/mlx5e: Remove unnecessary tstamp local variable in mlx5i_complete_rx_cqedrivers/net/ethernet/mellanox/mlx5/core/en_rx.c+1 -30 repliesApplied
3/6net/mlx5e: Rename hwstamp functions to hwtstampdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c+8 -80 repliesApplied
4/6net/mlx5e: Rename timestamp fields to hwtstamp_configdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c +6 more+16 -150 repliesApplied
5/6IB/IPoIB: Add support for hwtstamp get/set ndosdrivers/infiniband/ulp/ipoib/ipoib_main.c+29 -00 repliesApplied
6/6net/mlx5e: Convert to new hwtstamp_get/set interfacedrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c +3 more+66 -552 repliesApplied

Reviews trailers per patch

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

PatchCosmin Ratiu
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6
6/6R-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 net-next 0/6] Convert mlx5e and IPoIB to ndo_hwtstamp_get/set

Hi,

This series by Carolina migrates mlx5e and IPoIB to the ndo_hwtstamp_get/set interface and removes legacy hardware timestamp ioctl handling. While doing so, it also cleans up naming and removes redundant code.

No functional change in timestamp behavior.

Cleanup patches:
- net/mlx5e: Remove redundant tstamp pointer from channel structures
- net/mlx5e: Remove unnecessary tstamp local variable in mlx5i_complete_rx_cqe
- net/mlx5e: Rename hwstamp functions to hwtstamp
- net/mlx5e: Rename timestamp fields to hwtstamp_config

Add suppport in ipoib:
- IB/IPoIB: Add support for hwtstamp get/set ndos

Convert mlx5:
- net/mlx5e: Convert to new hwtstamp_get/set interface

Regards,
Tariq

Carolina Jubran (6):
net/mlx5e: Remove redundant tstamp pointer from channel structures net/mlx5e: Remove unnecessary tstamp local variable in
mlx5i_complete_rx_cqe
net/mlx5e: Rename hwstamp functions to hwtstamp net/mlx5e: Rename timestamp fields to hwtstamp_config IB/IPoIB: Add support for hwtstamp get/set ndos net/mlx5e: Convert to new hwtstamp_get/set interface

 drivers/infiniband/ulp/ipoib/ipoib_main.c     | 29 ++++++++
 drivers/net/ethernet/mellanox/mlx5/core/en.h  | 12 ++--
 .../net/ethernet/mellanox/mlx5/core/en/ptp.c  |  3 +-
 .../net/ethernet/mellanox/mlx5/core/en/ptp.h  |  1 -
 .../mellanox/mlx5/core/en/reporter_rx.c       |  3 +-
 .../net/ethernet/mellanox/mlx5/core/en/trap.c |  3 +-
 .../net/ethernet/mellanox/mlx5/core/en/trap.h |  1 -
 .../net/ethernet/mellanox/mlx5/core/en/txrx.h |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en/xdp.c  |  2 +-
 .../mellanox/mlx5/core/en/xsk/setup.c         |  2 +-
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 66 ++++++++++---------
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   |  6 +-
 .../ethernet/mellanox/mlx5/core/ipoib/ipoib.c | 34 +++++-----
 .../ethernet/mellanox/mlx5/core/ipoib/ipoib.h |  6 +-
 .../mellanox/mlx5/core/ipoib/ipoib_vlan.c     |  9 +--
 .../ethernet/mellanox/mlx5/core/lib/clock.h   |  1 -
 17 files changed, 107 insertions(+), 75 deletions(-)

base-commit: 1bae0fd90077875b6c9c853245189032cbf019f7

Signature · 1 line
2.31.1