gve: Add initial PTP device support
authorHarshitha Ramamurthy <hramamurthy@google.com>
Sat, 14 Jun 2025 00:07:49 +0000 (00:07 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Jun 2025 22:27:24 +0000 (15:27 -0700)
commitacd16380523b400400523fe54c7499320e558e80
tree30ff580c8cdb8a62ad02d0585b8ac434a856223d
parente0c9d5682cd568fc4aedf3b0375a5d48aad4d2a0
gve: Add initial PTP device support

If the device supports reading of the nic clock, add support
to initialize and register the PTP clock.

Signed-off-by: Ziwei Xiao <ziweixiao@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com>
Link: https://patch.msgid.link/20250614000754.164827-4-hramamurthy@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/Kconfig
drivers/net/ethernet/google/gve/Makefile
drivers/net/ethernet/google/gve/gve.h
drivers/net/ethernet/google/gve/gve_ptp.c [new file with mode: 0644]