diff mbox series

[net] net: ethernet: altera: Add use of ethtool_op_get_ts_info

Message ID 20220817095725.97444-1-maxime.chevallier@bootlin.com (mailing list archive)
State Accepted
Commit fb8d784b531e363171c7e22f4f0980b4b128a607
Delegated to: Netdev Maintainers
Headers show
Series [net] net: ethernet: altera: Add use of ethtool_op_get_ts_info | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net
netdev/fixes_present fail Series targets non-next tree, but doesn't contain any Fixes tags
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 85 this patch: 85
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 85 this patch: 85
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Maxime Chevallier Aug. 17, 2022, 9:57 a.m. UTC
Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can
at least use software timestamping.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
 drivers/net/ethernet/altera/altera_tse_ethtool.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski Aug. 18, 2022, 5:26 p.m. UTC | #1
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.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

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.
Maxime Chevallier Aug. 18, 2022, 5:31 p.m. UTC | #2
Hello Jakub,

On Thu, 18 Aug 2022 10:26:56 -0700
Jakub Kicinski <kuba@kernel.org> wrote:

> 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.
> > 
> > Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>  
> 
> 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
patchwork-bot+netdevbpf@kernel.org Aug. 18, 2022, 5:40 p.m. UTC | #3
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

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.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
> ---
>  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!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/altera/altera_tse_ethtool.c b/drivers/net/ethernet/altera/altera_tse_ethtool.c
index 4299f1301149..3081e5874ac5 100644
--- a/drivers/net/ethernet/altera/altera_tse_ethtool.c
+++ b/drivers/net/ethernet/altera/altera_tse_ethtool.c
@@ -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)