mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
29 lines
805 B
Text
29 lines
805 B
Text
#
|
|
# Google network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_GOOGLE
|
|
bool "Google Devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) device belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Google devices. If you say Y, you will be asked
|
|
for your specific device in the following questions.
|
|
|
|
if NET_VENDOR_GOOGLE
|
|
|
|
config GVE
|
|
tristate "Google Virtual NIC (gVNIC) support"
|
|
depends on (PCI_MSI && (X86 || CPU_LITTLE_ENDIAN))
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select PAGE_POOL
|
|
help
|
|
This driver supports Google Virtual NIC (gVNIC)"
|
|
|
|
To compile this driver as a module, choose M here.
|
|
The module will be called gve.
|
|
|
|
endif #NET_VENDOR_GOOGLE
|