Skip to content

ice: Implement PTP support for E830 devices

Karol Kolacinski intel-wired-lan netdev 12 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest7 patches 7 repliesIn review
  2. v117 patches 0 repliesSuperseded
  3. v107 patches 0 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v97 patches0 repliesSuperseded
v87 patches0 repliesSuperseded
v76 patches7 repliesSuperseded
v66 patches0 repliesSuperseded
v56 patches1 replySuperseded
v44 patches1 replySuperseded
v34 patches11 repliesSuperseded
v24 patches1 replySuperseded
v14 patches1 replySuperseded

Patches in v12 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ice: Don't check device type when checking GNSS presencedrivers/net/ethernet/intel/ice/ice_common.c drivers/net/ethernet/intel/ice/ice_common.h drivers/net/ethernet/intel/ice/ice_gnss.c +4 more+105 -1161 reply
2/7ice: Remove unncecessary ice_is_e8xx() functionsdrivers/net/ethernet/intel/ice/ice.h drivers/net/ethernet/intel/ice/ice_common.c drivers/net/ethernet/intel/ice/ice_common.h +5 more+155 -2831 reply
3/7ice: Use FIELD_PREP for timestamp valuesdrivers/net/ethernet/intel/ice/ice_ptp_hw.c drivers/net/ethernet/intel/ice/ice_ptp_hw.h+11 -111 reply
4/7ice: Process TSYN IRQ in a separate functiondrivers/net/ethernet/intel/ice/ice_main.c drivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h+57 -161 reply
5/7ice: Add unified ice_capture_crosststampdrivers/net/ethernet/intel/ice/ice_ptp.c+129 -751 reply
6/7ice: Refactor ice_ptp_init_tx_*drivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h+20 -391 reply
7/7ice: Implement PTP support for E830 devicesdrivers/net/ethernet/intel/Kconfig drivers/net/ethernet/intel/ice/ice_hw_autogen.h drivers/net/ethernet/intel/ice/ice_main.c +3 more+262 -71 reply

Reviews trailers per patch

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

PatchSimon HormanPrzemek KitszelPucha Himasekhar Reddy
1/7T-b
2/7T-b
3/7R-b T-b
4/7R-b T-b
5/7R-b T-b
6/7R-b T-b
7/7R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v12 thread

Cover letter [PATCH v12 iwl-next 0/7] ice: Implement PTP support for E830 devices

Add specific functions and definitions for E830 devices to enable PTP support.

Refactor processing of timestamping interrupt, cross timestamping, and remove usage of ice_is_e8xx() functions to avoid code redundancy.

Refactor GNSS presence check to be able to remove ice_is_e8xx() functions.

Jacob Keller (1):
ice: Add unified ice_capture_crosststamp

Karol Kolacinski (5):
ice: Don't check device type when checking GNSS presence
ice: Remove unncecessary ice_is_e8xx() functions
ice: Use FIELD_PREP for timestamp values
ice: Process TSYN IRQ in a separate function
ice: Refactor ice_ptp_init_tx_*

Michal Michalik (1):
ice: Implement PTP support for E830 devices

 drivers/net/ethernet/intel/Kconfig            |   2 +-
 drivers/net/ethernet/intel/ice/ice.h          |   5 -
 drivers/net/ethernet/intel/ice/ice_common.c   | 210 ++++----
 drivers/net/ethernet/intel/ice/ice_common.h   |   7 +-
 drivers/net/ethernet/intel/ice/ice_ddp.c      |   4 +-
 drivers/net/ethernet/intel/ice/ice_gnss.c     |  29 +-
 drivers/net/ethernet/intel/ice/ice_gnss.h     |   4 +-
 .../net/ethernet/intel/ice/ice_hw_autogen.h   |  12 +
 drivers/net/ethernet/intel/ice/ice_lib.c      |   2 +-
 drivers/net/ethernet/intel/ice/ice_main.c     |  27 +-
 drivers/net/ethernet/intel/ice/ice_ptp.c      | 509 ++++++++++++------
 drivers/net/ethernet/intel/ice/ice_ptp.h      |   9 +-
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c   | 407 ++++++++------
 drivers/net/ethernet/intel/ice/ice_ptp_hw.h   |  42 +-
 drivers/net/ethernet/intel/ice/ice_type.h     |   9 -
 15 files changed, 735 insertions(+), 543 deletions(-)

V11 -> V12: Fixed missing E830 case in ice_get_base_incval() in "ice: Implement
PTP support for E830 devices"
V10 -> V11: Fixed adjustments not working on E830 in "ice: Implement PTP support
for E830 devices"
V9 -> V10: Fixed E825C MAC condition in caps and and enabled
ICE_FLAG_PTP_SUPPORTED for E830
V8 -> V9: Fixed compilation issue introduced after rebase in "ice: Remove
unncecessary ice_is_e8xx()"
V7 -> V8: - reordered patches to have all E830 changes in "ice: Implement PTP
support for E830 devices"
- added "ice: Don't check device type when checking GNSS presence", which removes GNSS related changes from "ice: Remove unncecessary ice_is_e8xx() functions"
- reworded commit messages
V6 -> V7: Fixed timestamp acquisition in "ice: Implement PTP support for

          E830 devices"

V5 -> V6: Fixed minor compilation issue in "ice: Use FIELD_PREP for timestamp
values"
V4 -> V5: Added 2 patches: "ice: Remove unncecessary ice_is_e8xx()
functions" and "ice: Use FIELD_PREP for timestamp values". Edited return values "ice: Implement PTP support for E830 devices".
V3 -> V4: Further kdoc fixes in "ice: Implement PTP support for

          E830 devices"
V2 -> V3: Rebased and fixed kdoc in "ice: Implement PTP support for
          E830 devices"
V1 -> V2: Fixed compilation issue in "ice: Implement PTP support for
          E830 devices"

base-commit: 252daba137fd8c5a841f7120fdafa6f2ad67e88a

Signature · 1 line
2.46.1