All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH net-next 0/3] ice: lighter locking for PTP time reading
@ 2024-02-26 15:11 ` Michal Schmidt
  0 siblings, 0 replies; 30+ messages in thread
From: Michal Schmidt @ 2024-02-26 15:11 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, Richard Cochran, Jesse Brandeburg, Arkadiusz Kubalewski,
	Karol Kolacinski, Jacob Keller

This series removes the use of the heavy-weight PTP hardware semaphore
in the gettimex64 path. Instead, serialization of access to the time
register is done using a host-side spinlock. The timer hardware is
shared between PFs on the PCI adapter, so the spinlock must be shared
between ice_pf instances too.

Michal Schmidt (3):
  ice: add ice_adapter for shared data across PFs on the same NIC
  ice: avoid the PTP hardware semaphore in gettimex64 path
  ice: fold ice_ptp_read_time into ice_ptp_gettimex64

 drivers/net/ethernet/intel/ice/Makefile      |  3 +-
 drivers/net/ethernet/intel/ice/ice.h         |  2 +
 drivers/net/ethernet/intel/ice/ice_adapter.c | 69 ++++++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_adapter.h | 28 ++++++++
 drivers/net/ethernet/intel/ice/ice_main.c    |  8 +++
 drivers/net/ethernet/intel/ice/ice_ptp.c     | 33 ++--------
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c  |  3 +
 7 files changed, 116 insertions(+), 30 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/ice/ice_adapter.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_adapter.h

-- 
2.43.2


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

end of thread, other threads:[~2024-02-28 17:40 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 15:11 [Intel-wired-lan] [PATCH net-next 0/3] ice: lighter locking for PTP time reading Michal Schmidt
2024-02-26 15:11 ` Michal Schmidt
2024-02-26 15:11 ` [Intel-wired-lan] [PATCH net-next 1/3] ice: add ice_adapter for shared data across PFs on the same NIC Michal Schmidt
2024-02-26 15:11   ` Michal Schmidt
2024-02-26 19:18   ` [Intel-wired-lan] " Jacob Keller
2024-02-26 19:18     ` Jacob Keller
2024-02-27  7:05   ` [Intel-wired-lan] " Jiri Pirko
2024-02-27  7:05     ` Jiri Pirko
2024-02-27  8:11     ` [Intel-wired-lan] " Michal Schmidt
2024-02-27  8:11       ` Michal Schmidt
2024-02-28  2:35   ` [Intel-wired-lan] " Jakub Kicinski
2024-02-28  2:35     ` Jakub Kicinski
2024-02-28 17:39     ` [Intel-wired-lan] " Keller, Jacob E
2024-02-28 17:39       ` Keller, Jacob E
2024-02-26 15:11 ` [Intel-wired-lan] [PATCH net-next 2/3] ice: avoid the PTP hardware semaphore in gettimex64 path Michal Schmidt
2024-02-26 15:11   ` Michal Schmidt
2024-02-26 19:36   ` [Intel-wired-lan] " Jacob Keller
2024-02-26 19:36     ` Jacob Keller
2024-02-26 20:11     ` [Intel-wired-lan] " Michal Schmidt
2024-02-26 20:11       ` Michal Schmidt
2024-02-26 21:13       ` [Intel-wired-lan] " Jacob Keller
2024-02-26 21:13         ` Jacob Keller
2024-02-26 15:11 ` [Intel-wired-lan] [PATCH net-next 3/3] ice: fold ice_ptp_read_time into ice_ptp_gettimex64 Michal Schmidt
2024-02-26 15:11   ` Michal Schmidt
2024-02-26 19:36   ` [Intel-wired-lan] " Jacob Keller
2024-02-26 19:36     ` Jacob Keller
2024-02-26 19:16 ` [Intel-wired-lan] [PATCH net-next 0/3] ice: lighter locking for PTP time reading Jacob Keller
2024-02-26 19:16   ` Jacob Keller
2024-02-26 20:01   ` [Intel-wired-lan] " Michal Schmidt
2024-02-26 20:01     ` Michal Schmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.