Skip to content

mlxsw: Spectrum-2 PTP preparations

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 1 replyApplied 15/15

Patches in v1 All 15 applied

#Subject and filesSizeRepliesApplied
1/15mlxsw: Rename mlxsw_reg_mtptptp_pack() to mlxsw_reg_mtptpt_pack()drivers/net/ethernet/mellanox/mlxsw/reg.h drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+4 -40 repliesApplied
2/15mlxsw: reg: Add MTUTC register's fields for supporting PTP in Spectrum-2drivers/net/ethernet/mellanox/mlxsw/reg.h drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+31 -40 repliesApplied
3/15mlxsw: reg: Add Monitoring Time Precision Correction Port Configuration Registerdrivers/net/ethernet/mellanox/mlxsw/reg.h+62 -00 repliesApplied
4/15mlxsw: pci_hw: Add 'time_stamp' and 'time_stamp_type' fields to CQEv2drivers/net/ethernet/mellanox/mlxsw/pci_hw.h+78 -00 repliesApplied
5/15mlxsw: cmd: Add UTC related fields to query firmware commanddrivers/net/ethernet/mellanox/mlxsw/cmd.h+26 -00 repliesApplied
6/15mlxsw: Set time stamp type as part of config profiledrivers/net/ethernet/mellanox/mlxsw/cmd.h drivers/net/ethernet/mellanox/mlxsw/core.h drivers/net/ethernet/mellanox/mlxsw/pci.c +1 more+38 -10 repliesApplied
7/15mlxsw: spectrum: Fix the shift of FID field in TX headerdrivers/net/ethernet/mellanox/mlxsw/spectrum.c+1 -10 repliesApplied
8/15mlxsw: resources: Add resource identifier for maximum number of FIDsdrivers/net/ethernet/mellanox/mlxsw/resources.h+2 -00 repliesApplied
9/15mlxsw: Rename 'read_frc_capable' bit to 'read_clock_capable'drivers/net/ethernet/mellanox/mlxsw/core.h drivers/net/ethernet/mellanox/mlxsw/pci.c drivers/net/ethernet/mellanox/mlxsw/spectrum.c+3 -30 repliesApplied
10/15mlxsw: spectrum_ptp: Initialize the clock to zero as part of initializationdrivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+1 -21 replyApplied
11/15mlxsw: pci: Simplify FRC clock readingdrivers/net/ethernet/mellanox/mlxsw/pci.c drivers/net/ethernet/mellanox/mlxsw/pci_hw.h+12 -90 repliesApplied
12/15mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_state' per ASICdrivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+35 -160 repliesApplied
13/15mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_clock' per ASICdrivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+44 -310 repliesApplied
14/15mlxsw: spectrum_ptp: Rename mlxsw_sp_ptp_get_message_types()drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+6 -50 repliesApplied
15/15mlxsw: spectrum_ptp: Rename mlxsw_sp1_ptp_phc_adjfreq()drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c+2 -20 repliesApplied

Reviews trailers per patch

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

PatchPetr MachataRichard Cochran
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b A-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-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 00/15] mlxsw: Spectrum-2 PTP preparations

This patchset includes various preparations required for Spectrum-2 PTP support.

Most of the changes are non-functional (e.g., renaming, adding registers). The only intentional user visible change is in patch #10 where the PHC time is initialized to zero in accordance with the recommendation of the PTP maintainer.

Amit Cohen (7):
mlxsw: resources: Add resource identifier for maximum number of FIDs
mlxsw: spectrum_ptp: Initialize the clock to zero as part of
initialization
mlxsw: pci: Simplify FRC clock reading
mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_state' per ASIC
mlxsw: spectrum_ptp: Use 'struct mlxsw_sp_ptp_clock' per ASIC
mlxsw: spectrum_ptp: Rename mlxsw_sp_ptp_get_message_types()
mlxsw: spectrum_ptp: Rename mlxsw_sp1_ptp_phc_adjfreq()

Danielle Ratson (8):
mlxsw: Rename mlxsw_reg_mtptptp_pack() to mlxsw_reg_mtptpt_pack()
mlxsw: reg: Add MTUTC register's fields for supporting PTP in
Spectrum-2
mlxsw: reg: Add Monitoring Time Precision Correction Port
Configuration Register
mlxsw: pci_hw: Add 'time_stamp' and 'time_stamp_type' fields to CQEv2
mlxsw: cmd: Add UTC related fields to query firmware command
mlxsw: Set time stamp type as part of config profile
mlxsw: spectrum: Fix the shift of FID field in TX header
mlxsw: Rename 'read_frc_capable' bit to 'read_clock_capable'

 drivers/net/ethernet/mellanox/mlxsw/cmd.h     |  52 ++++++
 drivers/net/ethernet/mellanox/mlxsw/core.h    |   6 +-
 drivers/net/ethernet/mellanox/mlxsw/pci.c     |  27 +++-
 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h  |  81 +++++++++-
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  99 +++++++++++-
 .../net/ethernet/mellanox/mlxsw/resources.h   |   2 +
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |   6 +-
 .../ethernet/mellanox/mlxsw/spectrum_ptp.c    | 148 +++++++++++-------
 8 files changed, 344 insertions(+), 77 deletions(-)
Signature · 1 line
2.36.1