Skip to contentSkip to conversation

net: ethernet: altera: Add use of ethtool_op_get_ts_info

PATCH Applied Maxime Chevallier 3 participants 4 messages Aug 17, 2022 – Aug 18, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ethernet: altera: Add use of ethtool_op_get_ts_info

Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can at least use software timestamping.

---
 drivers/net/ethernet/altera/altera_tse_ethtool.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/altera/altera_tse_ethtool.c +1 -0
index 4299f1301149..3081e5874ac5 100644
@@ -233,6 +233,7 @@ static const struct ethtool_ops tse_ethtool_ops = {
 	.set_msglevel = tse_set_msglevel,
 	.get_link_ksettings = phy_ethtool_get_link_ksettings,
 	.set_link_ksettings = phy_ethtool_set_link_ksettings,
+	.get_ts_info = ethtool_op_get_ts_info,
 };
 
 void altera_tse_set_ethtool_ops(struct net_device *netdev)
Signature · 1 line
2.37.1
maintainer
#1 lore raw
Quoted 4 lines · On Wed, 17 Aug 2022 11:57:25 +0200 Maxime Chevallier wrote:

Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can at least use software timestamping.

I think our definition of bug is too narrow to fit this. It falls into "never worked" category AFAICT so to net-next it goes.

#2 lore raw

Hello Jakub,

Quoted 8 lines · On Thu, 18 Aug 2022 10:26:56 -0700 Jakub Kicinski <[email protected]> wrote:
Quoted 4 lines · On Wed, 17 Aug 2022 11:57:25 +0200 Maxime Chevallier wrote:

Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can at least use software timestamping.

I think our definition of bug is too narrow to fit this. It falls into "never worked" category AFAICT so to net-next it goes.

My bad, I actually meant to target it to net-next, that was a silly mistake from me...

Do I need to resend ?

Best regards,

Maxime

#3 lore raw
In reply to Maxime Chevallier
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Wed, 17 Aug 2022 11:57:25 +0200 you wrote:

Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can at least use software timestamping.

---
 drivers/net/ethernet/altera/altera_tse_ethtool.c | 1 +
 1 file changed, 1 insertion(+)

Here is the summary with links:
- [net] net: ethernet: altera: Add use of ethtool_op_get_ts_info

    https://git.kernel.org/netdev/net-next/c/fb8d784b531e

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html