[PATCH net-next] nfp: ethtool: expose transmit SO_TIMESTAMPING capability

Subsystems: netronome ethernet drivers, networking drivers, the rest

STALE1046d LANDED

Landed in mainline as 7453d7a633d0 on 2023-12-02.

3 messages, 3 authors, 2023-12-02 · open the first message on its own page

[PATCH net-next] nfp: ethtool: expose transmit SO_TIMESTAMPING capability

From: Louis Peens <hidden>
Date: 2023-11-29 08:04:39

From: Yinjun Zhang <redacted>

NFP always supports software time stamping of tx, now expose
the capability through ethtool ops.

Signed-off-by: Yinjun Zhang <redacted>
Signed-off-by: Louis Peens <redacted>
---
 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c b/drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
index 776bee2efd35..200b3588363c 100644
--- a/drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
+++ b/drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
@@ -2502,6 +2502,7 @@ static const struct ethtool_ops nfp_net_ethtool_ops = {
 	.set_pauseparam		= nfp_port_set_pauseparam,
 	.get_pauseparam		= nfp_port_get_pauseparam,
 	.set_phys_id		= nfp_net_set_phys_id,
+	.get_ts_info		= ethtool_op_get_ts_info,
 };
 
 const struct ethtool_ops nfp_port_ethtool_ops = {
-- 
2.34.1

Re: [PATCH net-next] nfp: ethtool: expose transmit SO_TIMESTAMPING capability

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-11-30 03:35:49

On Wed, 29 Nov 2023 10:04:13 +0200 Louis Peens wrote:
From: Yinjun Zhang <redacted>

NFP always supports software time stamping of tx, now expose
the capability through ethtool ops.
Reviewed-by: Jakub Kicinski <kuba@kernel.org>

Re: [PATCH net-next] nfp: ethtool: expose transmit SO_TIMESTAMPING capability

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-12-02 04:30:25

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 29 Nov 2023 10:04:13 +0200 you wrote:
From: Yinjun Zhang <redacted>

NFP always supports software time stamping of tx, now expose
the capability through ethtool ops.

Signed-off-by: Yinjun Zhang <redacted>
Signed-off-by: Louis Peens <redacted>

[...]
Here is the summary with links:
  - [net-next] nfp: ethtool: expose transmit SO_TIMESTAMPING capability
    https://git.kernel.org/netdev/net-next/c/7453d7a633d0

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help