diff options
author | John Fraker <jfraker@google.com> | 2024-04-12 08:32:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-15 12:36:15 +0300 |
commit | 4ca78e61ec708c1d679506e0f1c69e69b9de70f9 (patch) | |
tree | ab8a95fda64bcdbe63f4c82c75d9e342debfdd40 /drivers/net/ethernet/google/gve/gve_ethtool.c | |
parent | 4d0470b9ad73e965f5a1e52f1deb0edbb6d03c89 (diff) | |
download | linux-4ca78e61ec708c1d679506e0f1c69e69b9de70f9.tar.xz |
gve: Correctly report software timestamping capabilities
gve has supported software timestamp generation since its inception,
but has not advertised that support via ethtool. This patch correctly
advertises that support.
Signed-off-by: John Fraker <jfraker@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/google/gve/gve_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/google/gve/gve_ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/google/gve/gve_ethtool.c b/drivers/net/ethernet/google/gve/gve_ethtool.c index 815dead31673..299206d15c73 100644 --- a/drivers/net/ethernet/google/gve/gve_ethtool.c +++ b/drivers/net/ethernet/google/gve/gve_ethtool.c @@ -784,5 +784,6 @@ const struct ethtool_ops gve_ethtool_ops = { .set_tunable = gve_set_tunable, .get_priv_flags = gve_get_priv_flags, .set_priv_flags = gve_set_priv_flags, - .get_link_ksettings = gve_get_link_ksettings + .get_link_ksettings = gve_get_link_ksettings, + .get_ts_info = ethtool_op_get_ts_info, }; |