[PATCH net-next v2 0/8] gve: Add Rx HW timestamping support
From: Harshitha Ramamurthy
Date: Fri May 16 2025 - 20:11:26 EST
From: Ziwei Xiao <ziweixiao@xxxxxxxxxx>
This patch series add the support of Rx HW timestamping, which sends
adminq commands periodically to the device for clock synchronization with
the nic.
Changes:
v2:
- add initial PTP device support to utilize the ptp's aux_work to
schedule sending adminq commands periodically (Jakub Kicinski,
Vadim Fedorenko)
- add adminq lock patch into this patch series instead of sending out
to net since it's only needed to resolve the conflicts between the
upcoming PTP aux_work and the queue creation/destruction adminq
commands (Jakub Kicinski)
- add the missing READ_ONCE (Joe Damato)
Harshitha Ramamurthy (1):
gve: Add initial PTP device support
John Fraker (5):
gve: Add device option for nic clock synchronization
gve: Add adminq command to report nic timestamp
gve: Add rx hardware timestamp expansion
gve: Add support for SIOC[GS]HWTSTAMP IOCTLs
gve: Advertise support for rx hardware timestamping
Kevin Yang (1):
gve: Add support to query the nic clock
Ziwei Xiao (1):
gve: Add adminq lock for queues creation and destruction
drivers/net/ethernet/google/Kconfig | 1 +
drivers/net/ethernet/google/gve/Makefile | 4 +-
drivers/net/ethernet/google/gve/gve.h | 29 ++++
drivers/net/ethernet/google/gve/gve_adminq.c | 98 +++++++++++--
drivers/net/ethernet/google/gve/gve_adminq.h | 26 ++++
.../net/ethernet/google/gve/gve_desc_dqo.h | 3 +-
drivers/net/ethernet/google/gve/gve_ethtool.c | 23 ++-
drivers/net/ethernet/google/gve/gve_main.c | 47 +++++++
drivers/net/ethernet/google/gve/gve_ptp.c | 132 ++++++++++++++++++
drivers/net/ethernet/google/gve/gve_rx_dqo.c | 26 ++++
10 files changed, 373 insertions(+), 16 deletions(-)
create mode 100644 drivers/net/ethernet/google/gve/gve_ptp.c
--
2.49.0.1112.g889b7c5bd8-goog