diff mbox series

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

Message ID 20231129080413.83789-1-louis.peens@corigine.com (mailing list archive)
State Accepted
Commit 7453d7a633d020d2481cfedbcfcab6dab89ee194
Delegated to: Netdev Maintainers
Headers show
Series [net-next] nfp: ethtool: expose transmit SO_TIMESTAMPING capability | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/codegen success Generated files up to date
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1115 this patch: 1115
netdev/cc_maintainers warning 5 maintainers not CCed: james.hershaw@corigine.com yu.xiao@corigine.com leon@kernel.org horms@kernel.org edumazet@google.com
netdev/build_clang success Errors and warnings before: 1142 this patch: 1142
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
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: 1142 this patch: 1142
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Louis Peens Nov. 29, 2023, 8:04 a.m. UTC
From: Yinjun Zhang <yinjun.zhang@corigine.com>

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

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
---
 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski Nov. 30, 2023, 3:35 a.m. UTC | #1
On Wed, 29 Nov 2023 10:04:13 +0200 Louis Peens wrote:
> From: Yinjun Zhang <yinjun.zhang@corigine.com>
> 
> NFP always supports software time stamping of tx, now expose
> the capability through ethtool ops.

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
patchwork-bot+netdevbpf@kernel.org Dec. 2, 2023, 4:30 a.m. UTC | #2
Hello:

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

On Wed, 29 Nov 2023 10:04:13 +0200 you wrote:
> From: Yinjun Zhang <yinjun.zhang@corigine.com>
> 
> NFP always supports software time stamping of tx, now expose
> the capability through ethtool ops.
> 
> Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
> Signed-off-by: Louis Peens <louis.peens@corigine.com>
> 
> [...]

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!
diff mbox series

Patch

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 = {