Netdev List
 help / color / mirror / Atom feed
* [PATCH iwl-net v3 0/3] Rework ctrl_pf pointer usage in struct ice_adapter
@ 2026-06-01  9:19 Sergey Temerkhanov
  2026-06-01  9:19 ` [PATCH iwl-net v3 1/3] ice: Convert ctrl_pf pointer in struct ice_adapter to RCU Sergey Temerkhanov
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sergey Temerkhanov @ 2026-06-01  9:19 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: netdev

Rework usage of the control PF pointer in struct ice_adapter, so that
it is always has a consistent state, since it is global for an adapter.
Utilize RCU for reading the pointer value and atomic operations for
changing it. Zero out the ctrl_pf pointer when the control PF is removed.

Previous version:
https://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20260511/055077.html

v1->v2: Rebase onto the latest dev-queue branch
v2->v3: Cosmetic fixes

Sergey Temerkhanov (3):
  ice: Convert ctrl_pf pointer in struct ice_adapter to RCU
  ice: Zero out the PTP control PF pointer at ice_adapter cleanup
  ice: Cache struct ice_hw pointer for split register reads

 drivers/net/ethernet/intel/ice/ice.h         |  10 +-
 drivers/net/ethernet/intel/ice/ice_adapter.h |   2 +-
 drivers/net/ethernet/intel/ice/ice_ptp.c     | 116 +++++++++++++------
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c  |  26 ++++-
 4 files changed, 114 insertions(+), 40 deletions(-)


base-commit: 03d0beff9856a569d0da91ea0ccdc28045c2b2d0
-- 
2.53.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-07-13  6:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01  9:19 [PATCH iwl-net v3 0/3] Rework ctrl_pf pointer usage in struct ice_adapter Sergey Temerkhanov
2026-06-01  9:19 ` [PATCH iwl-net v3 1/3] ice: Convert ctrl_pf pointer in struct ice_adapter to RCU Sergey Temerkhanov
2026-07-13  6:38   ` [Intel-wired-lan] " Rinitha, SX
2026-06-01  9:19 ` [PATCH iwl-net v3 2/3] ice: Zero out the PTP control PF pointer at ice_adapter cleanup Sergey Temerkhanov
2026-07-13  6:38   ` [Intel-wired-lan] " Rinitha, SX
2026-06-01  9:19 ` [PATCH iwl-net v3 3/3] ice: Cache struct ice_hw pointer for split register reads Sergey Temerkhanov
2026-07-13  6:38   ` [Intel-wired-lan] " Rinitha, SX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox