Skip to content

Replace auxbus with ice_adapter in the PTP support code

Sergey Temerkhanov intel-wired-lan netdev 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 5 repliesIn review
  2. v55 patches 1 replySuperseded
  3. v4 posting 2/20 of 5 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 1/25 patches6 repliesSuperseded
v34 patches0 repliesSuperseded
v24 patches5 repliesSuperseded
v14 patches1 replySuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ice: Introduce ice_get_phy_model() wrapperdrivers/net/ethernet/intel/ice/ice.h drivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp_hw.c+25 -211 reply
2/5ice: Add ice_get_ctrl_ptp() wrapper to simplify the codedrivers/net/ethernet/intel/ice/ice_adapter.h drivers/net/ethernet/intel/ice/ice_ptp.c+16 -11 reply
3/5ice: Initial support for E825C hardware in ice_adapterdrivers/net/ethernet/intel/ice/ice_adapter.c+13 -31 reply
4/5ice: Use ice_adapter for PTP shared data instead of auxdevdrivers/net/ethernet/intel/ice/ice_adapter.c drivers/net/ethernet/intel/ice/ice_adapter.h drivers/net/ethernet/intel/ice/ice_ptp.c +2 more+105 -431 reply
5/5ice: Drop auxbus use for PTP to finalize ice_adapter movedrivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h+0 -2731 reply

Reviews trailers per patch

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

PatchPrzemek KitszelSimon HormanPucha Himasekhar Reddy
1/5R-b R-b T-b
2/5R-b R-b T-b
3/5R-b T-b
4/5R-b R-b T-b
5/5R-b R-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 v6 thread

Cover letter [PATCH iwl-next v6 0/5] Replace auxbus with ice_adapter in the PTP support code

This series replaces multiple aux buses and devices used in the PTP support code with struct ice_adapter holding the necessary shared data

Patches 1,2 add convenience wrappers
Patch 3 does the main refactoring
Patch 4 finalizes the refactoring

Previous discussion: https://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20240812/043278.html

v1->v2: Code rearrangement between patches
v2->v3: Patch cleanup
v3->v4: E825C support in ice_adapter
v4->v5: Rebased on top of the latest changes
v5->v6: Minor formatting fixes

Sergey Temerkhanov (5):
ice: Introduce ice_get_phy_model() wrapper
ice: Add ice_get_ctrl_ptp() wrapper to simplify the code
ice: Initial support for E825C hardware in ice_adapter
ice: Use ice_adapter for PTP shared data instead of auxdev
ice: Drop auxbus use for PTP to finalize ice_adapter move

 drivers/net/ethernet/intel/ice/ice.h         |   5 +
 drivers/net/ethernet/intel/ice/ice_adapter.c |  22 +-
 drivers/net/ethernet/intel/ice/ice_adapter.h |  22 +-
 drivers/net/ethernet/intel/ice/ice_ptp.c     | 340 ++++---------------
 drivers/net/ethernet/intel/ice/ice_ptp.h     |  24 +-
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c  |  22 +-
 drivers/net/ethernet/intel/ice/ice_ptp_hw.h  |   5 +
 7 files changed, 129 insertions(+), 311 deletions(-)
Signature · 1 line
2.43.0