* [PATCH net-next 12] gve: Correctly report software timestamping capabilities
@ 2024-04-12 5:32 John Fraker
2024-04-12 15:31 ` Willem de Bruijn
2024-04-15 9:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 4+ messages in thread
From: John Fraker @ 2024-04-12 5:32 UTC (permalink / raw)
To: netdev
Cc: John Fraker, Harshitha Ramamurthy, Shailend Chand,
Willem de Bruijn, David S. Miller, Jeroen de Borst,
Jakub Kicinski, Junfeng Guo, linux-kernel
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>
---
v2: Used ethtool_op_get_ts_info instead of our own implementation, as
suggested by Jakub
drivers/net/ethernet/google/gve/gve_ethtool.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/google/gve/gve_ethtool.c b/drivers/net/ethernet/google/gve/gve_ethtool.c
index 815dead..299206d 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,
};
--
2.44.0.683.g7961c838ac-goog
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 12] gve: Correctly report software timestamping capabilities
2024-04-12 5:32 [PATCH net-next 12] gve: Correctly report software timestamping capabilities John Fraker
@ 2024-04-12 15:31 ` Willem de Bruijn
2024-04-12 19:59 ` John Fraker
2024-04-15 9:40 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 4+ messages in thread
From: Willem de Bruijn @ 2024-04-12 15:31 UTC (permalink / raw)
To: John Fraker, netdev
Cc: John Fraker, Harshitha Ramamurthy, Shailend Chand,
Willem de Bruijn, David S. Miller, Jeroen de Borst,
Jakub Kicinski, Junfeng Guo, linux-kernel
John Fraker wrote:
> 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>
> ---
> v2: Used ethtool_op_get_ts_info instead of our own implementation, as
> suggested by Jakub
FYI: the subject says "net-next 12", not "net-next v2"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 12] gve: Correctly report software timestamping capabilities
2024-04-12 15:31 ` Willem de Bruijn
@ 2024-04-12 19:59 ` John Fraker
0 siblings, 0 replies; 4+ messages in thread
From: John Fraker @ 2024-04-12 19:59 UTC (permalink / raw)
To: Willem de Bruijn
Cc: netdev, Harshitha Ramamurthy, Shailend Chand, Willem de Bruijn,
David S. Miller, Jeroen de Borst, Jakub Kicinski, Junfeng Guo,
linux-kernel
On Fri, Apr 12, 2024 at 8:31 AM Willem de Bruijn
<willemdebruijn.kernel@gmail.com> wrote:
>
> John Fraker wrote:
> > 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>
Thank you
> > ---
> > v2: Used ethtool_op_get_ts_info instead of our own implementation, as
> > suggested by Jakub
>
> FYI: the subject says "net-next 12", not "net-next v2"
>
Sorry about that!
I made two rookie mistakes haha. Sending the patch late at night, and
not re-doing my test email after editing.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 12] gve: Correctly report software timestamping capabilities
2024-04-12 5:32 [PATCH net-next 12] gve: Correctly report software timestamping capabilities John Fraker
2024-04-12 15:31 ` Willem de Bruijn
@ 2024-04-15 9:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-04-15 9:40 UTC (permalink / raw)
To: John Fraker
Cc: netdev, hramamurthy, shailend, willemb, davem, jeroendb, kuba,
junfeng.guo, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Thu, 11 Apr 2024 22:32:29 -0700 you wrote:
> 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>
>
> [...]
Here is the summary with links:
- [net-next,12] gve: Correctly report software timestamping capabilities
https://git.kernel.org/netdev/net-next/c/4ca78e61ec70
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-15 9:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 5:32 [PATCH net-next 12] gve: Correctly report software timestamping capabilities John Fraker
2024-04-12 15:31 ` Willem de Bruijn
2024-04-12 19:59 ` John Fraker
2024-04-15 9:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox