Skip to content

RFC Replace auxbus with ice_adapter in the PTP support code

Sergey Temerkhanov intel-wired-lan 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ice: 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 -200 replies
2/4ice: Add ice_get_ctrl_ptp() wrapper to simplify the codedrivers/net/ethernet/intel/ice/ice_ptp.c+12 -00 replies
3/4ice: 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+92 -430 replies
4/4ice: Drop auxbus use for PTP to finalize ice_adapter movedrivers/net/ethernet/intel/ice/ice_ptp.c+0 -2650 replies

Reviews trailers per patch

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

PatchPrzemek Kitszel
1/4R-b
2/4R-b
3/4R-b
4/4R-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 [Intel-wired-lan] [RFC PATCH iwl-next v1 0/4] 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

Sergey Temerkhanov (4):
ice: Introduce ice_get_phy_model() wrapper
ice: Add ice_get_ctrl_ptp() wrapper to simplify the code
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 |   6 +
 drivers/net/ethernet/intel/ice/ice_adapter.h |  21 +-
 drivers/net/ethernet/intel/ice/ice_ptp.c     | 338 ++++---------------
 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, 111 insertions(+), 310 deletions(-)
Signature · 1 line
2.43.0